Re: [SLE] Two NICs

From: Don Parris (webdev_at_matheteuo.org)
Date: 11/07/04

  • Next message: Patrick Shanahan: "Re: [SLE] Empty Trash"
    To: suse-linux-e@suse.com
    Date: Sat, 6 Nov 2004 19:28:36 -0500
    
    

    On Saturday 06 November 2004 17:19, Vince Littler wrote:
    > On Saturday 06 November 2004 8:11 pm, Don Parris wrote:
    > > I'm trying to setup two NICs on one box, and seem to be having trouble
    > > eaching the rest of the LAN using eth1. I use eth0 for the DSL
    > > connection.
    > >
    > > ifconfig reports:
    > > dsl0 Link encap:Point-to-Point Protocol
    > > inet addr:192.168.99.1 P-t-P:192.168.99.99
    > > Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492
    > > Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    > > collisions:0 txqueuelen:3
    > > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    > >
    > > eth0 Link encap:Ethernet HWaddr 00:0A:E6:68:3E:24
    > > inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    > > inet6 addr: fe80::20a:e6ff:fe68:3e24/64 Scope:Link
    > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    > > RX packets:104 errors:0 dropped:0 overruns:0 frame:0
    > > TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
    > > collisions:0 txqueuelen:1000
    > > RX bytes:34154 (33.3 Kb) TX bytes:10841 (10.5 Kb)
    > > Interrupt:5 Base address:0xc400
    > >
    > > eth1 Link encap:Ethernet HWaddr 00:01:02:73:CA:CF
    > > inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
    > > inet6 addr: fe80::201:2ff:fe73:cacf/64 Scope:Link
    > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    > > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    > > TX packets:12 errors:0 dropped:0 overruns:0 carrier:5
    > > collisions:0 txqueuelen:1000
    > > RX bytes:0 (0.0 b) TX bytes:936 (936.0 b)
    > > Interrupt:3 Base address:0xc000
    > >
    > > ping -I 192.168.1.2 192.168.1.14 produces "host unreachable".
    > >
    > > I've tried 2 different NICs. I suspect the problem is not dead NICs but
    > > perhaps something I need to do differently or additionally. I've setup
    > > the hosts file with both NICs listed (and tried it with only eth1's
    > > address listed - 192.168.1.2) I'm not quite sure what else to do.
    > >
    > > Thanks,
    > > Don
    > >
    > > --
    > > DC Parris GNU Evangelist
    > > http://matheteuo.org/
    > > http://chaddb.sourceforge.net/
    > > "Free software is like God's love - you can share it with
    > > anyone anytime anywhere!"
    >
    > Hi Don
    >
    > Stan Glasoe has picked up the issue about the subnets. I'll chip in with
    > this:
    >
    > If you have 2 NICS, you either DO or DON'T want them on the same subnet
    > according to what you want to do, there is no option. In your case, it
    > seems that you want to use eth1 for your own LAN and eth0/dsl0 as your
    > external connection, in which case [no option], eth0 and eth1 must be on
    > different subnets, to provide separation of internal and external traffic.
    >
    > I am not familiar with how to configure the eth0/dsl0 interface, because I
    > use a router, but there should be no difference between single machine use
    > configuration and configuration for the single machine to act as router for
    > the whole LAN. So, leave aside eth1 for the moment, just get eth0/dsl0
    > working as a standalone internet setup on the one machine.
    >
    If the DSL were not working with eth0, you wouldn't likely be able to post to
    the list until tomorrow night. :) eth0 is fine, I just need eth1 working
    with the internal LAN. So I'll finish working with Stan's message and report
    back in a bit. I didn't think about using different subnets.

    >
    > When this works, go with what Stan says about separate subnets, and work on
    > eth1. The machine with the 2 interfaces is then a router, which must have
    > IP forwarding turned on [YaST2 -> Network Devices -> Network Card -> Change
    > [already configured devices] -> edit -> routing -> enable IP forwarding].
    >
    > After this, you'll need to set up your LAN clients to access the internet,
    > which means pointing them at your machine as gateway or router and sorting
    > out DNS.
    >
    Opening the LAN to internet access will definitely come a little later.
    >

    Don

    -- 
    DC Parris GNU Evangelist
    http://matheteuo.org/
    http://chaddb.sourceforge.net/
    "Free software is like God's love - you can share it with 
    anyone anytime anywhere!"
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Patrick Shanahan: "Re: [SLE] Empty Trash"

    Relevant Pages

    • Re: Problem Local vs Internet
      ... I assume you've got both of the NIC's configured on different subnets and ... Check the setup of your Local Address Table too. ... Lonny ... > Internet and my local network working at the same time. ...
      (microsoft.public.windows.server.sbs)
    • Re: Secure WAN Setup (Possibly off topic?)
      ... > The budget for this setup is probably less than $5000 though thats ... If that budget includes costs for initial setup and first year for ... performance than the internet, the internet isn't really all that ...
      (Security-Basics)
    • Inbound Mail Error of E-2003 behind Single NIC ISA2004/smtp relay
      ... Network is setup as follows: ... -private range of 192.168.0 network with access to internet via router ... -ISA2004 Server is on single NIC setup acting as web proxy and smtp relay ...
      (microsoft.public.exchange.setup)
    • Re: Two error messages
      ... Each computer can connect to the internet without ... >> visible in Network Neighborhood, ... >router and I entered the IP static address assigned to me by my ISP. ... The best way for a "clean sweep" would be for you to setup both computers to get ...
      (microsoft.public.windowsxp.network_web)
    • Please Help with Internet Connection question
      ... I just loaded Windows Live Messenger. ... use 56k dial up modem thru local ISP to connect to Internet. ... network connection is not present. ... the built in Administrator account had the setting still setup to dial only ...
      (microsoft.public.windows.mediacenter)