[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I configure eth1 on bootup?



If you're using static IP addressing, you need to define the netmask, 
network, broadcast and gateway addresses as well.  Here's an example form one 
of my machines:


auto eth0
iface eth0 inet static
        address 10.1.1.3
        netmask 255.255.255.0
        network 10.1.1.0
        broadcast 10.1.1.255
        gateway 10.1.1.1

Obviously, you need to change this information to suit your particular 
network, but the example should at least get you going.

--kurt


On Monday 05 November 2001 01:22 pm, Phillip Deackes wrote:
> auto lo eth0
> auto eth1
>
> # The loopback interface
> iface lo inet loopback
>
> # The ethernet interface
> iface eth0 inet dhcp
> 	hostname scgf01
>
> iface eth1 inet static
> 	address 192.168.1.1
>
> Have I missed something?
>
> Many thanks indeed



Reply to: