Results 1 to 3 of 3
Howdy, I am trying to setup Debian server\router\firewall, where I have two nic (same brand and model) eth0 & eth1.
eth0 192.168.1.253 -> adsl connection (modem 192.168.1.254)
eth1 192.168.1.1 -> ...
- 06-17-2004 #1Just Joined!
- Join Date
- Jun 2004
- Location
- Australia
- Posts
- 1
setup gateway with identical two nic
Howdy, I am trying to setup Debian server\router\firewall, where I have two nic (same brand and model) eth0 & eth1.
eth0 192.168.1.253 -> adsl connection (modem 192.168.1.254)
eth1 192.168.1.1 -> home network hub (comp#1,#2,#3)
They both come up with same IRQ (11), which causes problems trying to ping machines ip nos. Any setup and recommendations would be much appreciated.
- 06-18-2004 #2Just Joined!
- Join Date
- Jun 2004
- Location
- Leiria - Portugal
- Posts
- 72
The same subnet!?
Hi there,
My opinion is that a multihomed computer in the same nework twice...
You're assigning for eth0 and eth1 an ip address in the same subnet 192.168.1.0. I don't know the impact of this, or if it is the reason for that error, but wat I can tell is that isn't usual.
If you want one nic, lets say eth0, to be connected to you're adsl modem, and the other one, eth1, to provide conectivity to your lan you just need to assign diferent subnet ip addresses to each one, like:
(192.168.0.10) lan pc <--------> eth1 (192.168.0.1) IPV4 FORWARDING (192.168.1.2) eth0 <--------> internet modem (192.168.1.254)
Hope it helps, my poor english...
- 06-25-2004 #3Linux Newbie
- Join Date
- Dec 2003
- Location
- Netherlands
- Posts
- 193
First of all, if you use two nics with the same subnet you'll have problems. Ofcourse.
Make the ip for your router and the ethernet card 192.168.2.XXX.
This wil solve the problemComputers Are Like Air Conditioners... They\'re both useless with Windows open!


Reply With Quote
