Re: Using Fedora as firewall.

From: Luciano Miguel Ferreira Rocha (strange_at_nsk.no-ip.org)
Date: 04/17/04

  • Next message: Aaron Konstam: "Re: problems at installing apt"
    Date: Sat, 17 Apr 2004 13:18:57 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Sat, Apr 17, 2004 at 09:56:21AM +0000, david_pettersson@bredband.net wrote:
    >
    > 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)
    >

    Either the dhcp client for your company overwrites the /etc/resolv.conf
    file for name resolution, or it's adding/replacing the default route for
    the internet.

    Check the file /etc/resolv.conf and report the output of /sbin/route -n,
    please.

    Regards,
    Luciano Rocha

    -- 
    Consciousness: that annoying time between naps.
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Aaron Konstam: "Re: problems at installing apt"

    Relevant Pages

    • Re: Want to use Home DSL Connection
      ... than your modem will allow. ... understanding of networking and how networking "works". ... now I want to dial in from my office to my home to use the internet ... > My office computer when connects to home computer, ...
      (microsoft.public.windowsxp.network_web)
    • Niche Web Networking Sites Chase MySpace Ad Dollars
      ... Social networking online isn't just for hip twenty-year-olds any ... business models to attract larger audiences and more advertisers. ... The Internet will see a lot more targeted community launches in the ... rather than the general youth community sites that defined ...
      (comp.dcom.telecom)
    • Re: Hi, having trouble with networking
      ... > the past week and I'm getting nowhere,dont want to go back to windows ... I have setup modem and internet, ... > tutorials on the web I have found just dont help. ... > New to linux and having a bit of trouble networking. ...
      (comp.os.linux.networking)
    • Re: Network Address?
      ... >> connection using Windows Internet Connection Sharing (ICS). ... >> necessary and you would set the computers to get their IP addresses ... > its own adaptor but being a newbie to networking I was not attempting at ...
      (microsoft.public.windowsxp.network_web)
    • Re: WARCRAFT III HELP ME NOW!
      ... it always says "Your internet connection has been ... HOW TO IMPROVE YOUR CONNECTION: ... Advanced Users should Reinstall ICS and Networking Components: ... Once done power off, unplug, reinstall the card, and create a new connection. ...
      (microsoft.public.games)