Hey all,
I'm trying to setup my server as the gateway of our network.
But there's one problem.
I've got a ETH0 and ETH1.
ETH0 - Directly connected to the internet.
ETH1 - Connected to a router or switch.
I've got 2 ethernetcards in my server but if I do the command:
service network restart
Then it will stand on this for a little while.
Determining IP information for ETH0...
After about 2/3 minutes I'm getting this:
Determining IP information for ETH0... [FAILED]
Then if I'm gonna check the error by typing this command:
dmesg
Then it shows this:
If I put ETH1 on direct internet and ETH0 on the router/switch it will do the same.
These are my ifcfg-eth0/eth1 config files:
ETH0
ETH1
Does anyone know's how to fix this?
Because my ETH0 don't wanna see my external IP from my internet provider.
I donno how and thats why I'm asking you guys.
Thanks allot!
(Sorry for my bad english)
Kindly Greets,
Bas Steiginga.
I'm trying to setup my server as the gateway of our network.
But there's one problem.
I've got a ETH0 and ETH1.
ETH0 - Directly connected to the internet.
ETH1 - Connected to a router or switch.
I've got 2 ethernetcards in my server but if I do the command:
service network restart
Then it will stand on this for a little while.
Determining IP information for ETH0...
After about 2/3 minutes I'm getting this:
Determining IP information for ETH0... [FAILED]
Then if I'm gonna check the error by typing this command:
dmesg
Then it shows this:
Code:
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link down
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link down
eth0: link down
If I put ETH1 on direct internet and ETH0 on the router/switch it will do the same.
These are my ifcfg-eth0/eth1 config files:
ETH0
Code:
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:15:F2:51:1A:91
ONBOOT=yes
DHCP_HOSTNAME=**myhostnameishere**
TYPE=Ethernet
ETH1
Code:
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:08:A1:77:9F:72
ONBOOT=yes
DHCP_HOSTNAME=**myhostnameishere**
IPADDR=192.168.1.210
NETMASK=255.255.255.0
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
Does anyone know's how to fix this?
Because my ETH0 don't wanna see my external IP from my internet provider.
I donno how and thats why I'm asking you guys.
Thanks allot!
(Sorry for my bad english)
Kindly Greets,
Bas Steiginga.