Using Fedora as firewall.

david_pettersson at bredband.net david_pettersson at bredband.net
Sat Apr 17 09:56:21 UTC 2004


Hi,

Before my old computer burned I used it as a firewall or gateway to the internet. Then I had a modem and a networking card and everything worked.

Now I have two networking cards, one buildin in the motherboard (eth0) and one in a PCI slot (eth1). When I tried to do the same to give my WinXP box access to the internet I couldn't get it right. When I connect to internet using eth0 everything is fine. When I start eth1 to the WinXP box it works, but then I have no contact with the internet thru eth0.
To get contact with the internet again I have to stop eth1 and restart eth0. Does anyone have a clue?

The internet company used DNS to assign network adresses and the WinXP has adress 172.16.0.2
/sbin/ipconfig gives:

eth0 Link encap:Ethernet HWaddr 00:0E:A6:38:BC:53
inet addr:213.114.28.238 Bcast:213.114.28.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3820 errors:0 dropped:0 overruns:0 frame:0
TX packets:6080 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1871476 (1.7 Mb) TX bytes:840285 (820.5Kb)
Interrupt:10 Base address:0x7800

eth1 Link encap:Ethernet HWaddr 00:30:4F:1E:0B:2A
inet addr:172.16.0.1 Bcast:172.16.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:759 (759.0 b) TX bytes:30639 (29.9 Kb)
Interrupt:11 Base address:0x1000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2460 errors:0 dropped:0 overruns:0 frame:0
TX packets:2460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1943908 (1.8 Mb) TX bytes:1943908 (1.8 Mb)






More information about the fedora-list mailing list