[Voyage-linux] eth1 won't go static

Richard StClair (spam-protected)
Thu Dec 21 06:35:39 HKT 2006


Ok Thanks!!!!


On Dec 20, 2006, at 10:44, Jere Virta wrote:

> 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#
>>
>
>

-- 
Regards,
Richard St Clair,
Co-Founder & Internet Evangelist,
Internet Users Society Niue
--------------------------------------------
stclair at niue.nu www.niue.nu
Niue Island, South Pacific 169 West 19 South
--------------------------------------------
"So, other than that Mrs Lincoln, how was the play?"





More information about the Voyage-linux mailing list