Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dev10075 is an ethernet card?

Status
Not open for further replies.

ofcalcul

IS-IT--Management
Sep 28, 2004
24
RO
I have a Fedora Core 1 server, which I use as my internet gateway, with tho ethernet cards: one to the LAN (IPs 10.0.0.x/255.255.255.0) and the other to the Internet.
Recently I added the third ethernet card - for a second LAN (IPs 10.1.0.x/255.255.255.0) which should have access to the internet too through this gateway. The name added by default for the third ethernet card is dev10075 - not eth2 as I expected.
Using the iptables firewall I tried to separate the two LANs but the idea doesn't seem to work. The firewall rules which I added for this are:
iptables -A INPUT -s 10.1.0.0/24 -d 10.0.0.0/24 -j DROP
iptables -A INPUT -s 10.0.0.0/24 -d 10.1.0.0/24 -j DROP
I tried to put these rules in the FORWARD chain or the OUTPUT chain but still I can ping from one LAN to an address in the second LAN.
How can I isolate them? Is the name of the third eth card the problem?
Thank you in advance.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top