PDA

View Full Version : switch nic


ctollefsen
08-10-2007, 01:34 PM
Hello,
I just setup a new installation, with two nic cards, one is 10/100 the other is 10/100/1000. Right now my external nic seems to be the gigabit, and the internal is the 10/100. my question has two parts,

1. How can I change the 10/100 nic from being the internal nic to be the external nic? (I have a gigabit switch and would like the gigabit nic connected to that, and the 10/100 to the T-1)

2. Am I trying to do this for no reason, the system is fast enough at 10/100.

Please let me know.

Thanks,

dmorris
08-11-2007, 01:18 AM
Welcome!

Currently you can't remap NICs (they are in the order the kernel loads them)

We're fixing this in 5.1 Thunderbird (later this year)

juank
09-14-2007, 09:37 AM
I have the latest version of untangle running now, so ... how can I remap the NICs?

Thanks.

gotkimchi
09-14-2007, 11:11 AM
5.1 is slated for end of the year. Thanks.

juank
09-14-2007, 11:53 AM
OK, I found a way to do it...

You need to modify the file /etc/default/untangle-vm
and change the line where it says:

UVM_INTERNAL_INTF=..... from eth0 --> eth1

and

UVM_EXTERNAL_INTF=... from eth0 --> eth1

I did it and it's working great now.

Problem solved.

Thanks

dmorris
09-14-2007, 01:43 PM
In 5.0.2 you can do it using /etc/iftab also (this is recommended as /etc/defaults/untangle-vm is rewritten on upgrade)

we're going to write a faq on this