[Voyage-linux] eth1 won't go static

Jere Virta (spam-protected)
Thu Dec 21 05:44:34 HKT 2006


Hi,

remove the gateway-line for eth0

- jere


Richard StClair kirjoitti:
> 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