1
Developers / Re: How to setup eth2 for dedicated VOIP line and not break eth0,1 setup for LMC
« on: March 22, 2008, 11:10:33 pm »
I guess you would want to setup the ADSL-Gateway after eth2, so the VoIP-Stuff gets overwritten with the ADSL-Stuff. Currently I guess it's the other way around.
with 2 dhcp-client-interfaces, the one that is initialized the later is the one providing nameservers and default gateway.
You could manually override and add the ADSL-Gateway's Name-server to /etc/resolv.conf
and do something like "route add default gw 192.168.0.adslrouter"
or make an additional "dhclient eth0/1" after bootup.
see /etc/rc.local for these commands to be executed automatically at the end of the boot-sequence.
with 2 dhcp-client-interfaces, the one that is initialized the later is the one providing nameservers and default gateway.
You could manually override and add the ADSL-Gateway's Name-server to /etc/resolv.conf
and do something like "route add default gw 192.168.0.adslrouter"
or make an additional "dhclient eth0/1" after bootup.
see /etc/rc.local for these commands to be executed automatically at the end of the boot-sequence.