While I tried many of the options proposed in the lists, I was still
unable to save the routing information.
I finally went ahead and tried to seek the info via google using
different keywords and I actually found the simplest solution.
Edit file:
|/etc/sysconfig/network
And Add line:
||GATEWAY=<your gw ip here>
Restart networking interfaces and you're set. Routing to gateway will
persist over reboots and I can still use DHCP on the other interface.
(IP is locked in the DHCP server, so it will remain the same...)
Petri
|
willhill wrote:
> The easy solution is to swap the wires. Other solutions depend on what
> distribution you are using.
>
> On Sunday 29 April 2007 1:09 pm, Petri Laihonen wrote:
>
>> How would I save default gateway setting?
>>
>> I have 2 network interfaces eth0 and eth1 respectfully.
>>
>> eth0 is the outside network connection with static IP
>> eth1 is the internal connection getting IP from DHCP (and apparently
>> route as well)
>>
>> For some reason the default gateway is been set to the eth1 using the
>> route out from internal network. This prevent me from connecting to the
>> server using outside network connection. (None of the services respond
>> to connection attempts, except from internal network) ...
>>
>
>
> _______________________________________________
> General mailing list
> General@brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>
___________________
Nolug mailing list
nolug@nolug.org
Received on 05/04/07
This archive was generated by hypermail 2.2.0 : 12/19/08 EST