Hi all!
I have a problem with my server. I have installed my Debian 5 machine with kernel version 2.6.26-2-amd64.
I want to configure Debian machine to act like router/firewall.
I have 2 network cards inside and I want to configure in the next way but I can't bring up the second network interface.
ISP modem ----> first NIC (eth0) -----> second NIC (eth1) ---->local network(switch)
I have the follow configuration in /etc/network/interfaces
Quote:
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
#The primary network interface (extern)
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
#The secondary network interface (intern)
auto eth1
iface eth1 inet static
adress 172.16.10.1
netmask 255.255.255.0
network 172.16.0.0
broadcast 172.16.255.255
|
My configuration in /etc/hosts is:
Quote:
127.0.0.1 localhost.localdomain localhost
172.16.10.1 server1.texvol.com server1
|
And now the problem which come when I run "/etc/init.d/networking restart " is:
Quote:
server1:/home/texvol# /etc/init.d/networking restart
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts (warning).
Don't seem to be have all the variables for eth1/inet.
Failed to bring up eth1.
done.
|
Every help is welcome, please tell me what I did wrong and what I need to configure more to bring the second card alive.
I am new to Linux server world and any comment please write it as you write it to a beginner.
Thanks,
compiman