[Voyage-linux] eth1 won't go static

Bob (spam-protected)
Thu Dec 21 05:48:35 HKT 2006


Hi Richard,

Perhaps the gateway for eth0 being set to the subnet used on eth1 is a 
problem;  eth0 gateway 192.168.1.134 is not reachable on eth0.

Aloha,
bob

Richard StClair wrote:
> Hi,
> 
> I'm running a 4501 with Voyage 2.2.3.
> 
> It works great.....running shorewall with two nics soho on eth0 on the 
> inside with Internet on eth1.
> 
> The only thing is....I have to run dhcp on the outside. If I set the 
> eth1 to a static IP it simply won't come up. Then I set it back to dhcp 
> and it works fine.
> 
> I can't figure out why I can't set that eth1 to a static IP. Even if I 
> don't load shorewall it does the same thing. So I don't think it has 
> anything to do with my shorewall config.
> 
> I have no trouble setting eth0 to a static.
> 
> Here's my interfaces config:
> 
> stclair-soekris:/home/stclair# cd /etc/network
> stclair-soekris:/etc/network# cat interfaces
> 
> auto lo
> iface lo inet loopback
> 
> # eth0 inside lan
> auto eth0
> #iface eth0 inet dhcp
> iface eth0 inet static
>       address 192.168.2.200
>       netmask 255.255.255.0
>       broadcast 192.168.2.255
>       gateway 192.168.1.134
> 
> # eth1 wan internet
> 
> auto eth1
> iface eth1 inet dhcp
> #iface eth1 inet static
> #      address 192.168.1.134
> #      netmask 255 255 255.0
> #      broadcast 192.168.1.255
> #      gateway 192.168.1.200
> 
> stclair-soekris:/etc/network#
> 





More information about the Voyage-linux mailing list