[SLE] Cable Modem - DHCP

From: Martin Love (martin.love_at_skynet.be)
Date: 08/19/04

  • Next message: Johan Nielsen: "Re: [SLE] Disk order swapped under 9.1"
    Date: Thu, 19 Aug 2004 10:45:35 +0200
    To: suse-linux-e@suse.com
    
    

    Hi Jerry,

    Thanks for your help.

    I'm sorry but I'm a real novice at Linux and I'm not sure how and what I

    should put in the Routing section of YaST2.

    Here is a copy of what "netstat -nr" showed after I got the internet etc

    working.

    SuSe:/home/lovem # netstat -nr
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt
    Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
    eth0
    81.83.48.0 0.0.0.0 255.255.248.0 U 0 0 0
    eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
    eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
    lo
    0.0.0.0 81.83.48.1 0.0.0.0 UG 0 0 0
    eth1

    Again any help very much appreciated.

    Thanks in advance for your help.

    Martin

    On Wednesday 18 August 2004 17:29, Jerry Feldman wrote:
    > On Wed, 18 Aug 2004 11:21:31 +0200
    >
    > Martin Love <martin.love@skynet.be> wrote:
    > > Hi I'm new to Linux and would really appreciate any help or

    direction.

    > > Here is the problem I'm having :-
    > >
    > > I have SuSe Pro 9.1 installed on a PC with 2 nic. One of the nics is
    > > built into the system board and the other is a 3Com 3C905B-TX.
    > >
    > > The Build in nic is attached to a cable modem supplied by Telenet
    > > (Belgium) and has DHCP enabed.
    > >
    > > The 3Com is connected to a second PC with a fixed IP address

    assigned.

    > > Eth0 3Com Fixed IP Address LAN
    > > Eth1 Built-in DHCP WAN

    (Cable Modem)

    > > When I boot the Linux PC I can't access the internet or email. I
    > > checked the config using "ifconfig" but it did not show the built in
    > > nic with DHCP enabled. I then ran YaST Control Center, Network

    Devices

    > > and disabled DHCP and then re-enabled DHCP on the built in nic.
    > >
    > > I then checked "ifconfig" again and this time everything seemed ok

    and

    > > when I tried to connect to the internet everything was working fine.
    > >
    > > So now everytime I reboot I have to disable and then re-enable the
    > > DHCP setting for the built in nic before I can use the internet or
    > > email.
    > >
    > > As I said I'm very new to Linux and I hope that the above make

    sense.

    > The issue is a routing issue. Your routing table probably has the
    > default route going to eth0. From the command line, run the netstat
    > command:
    > netstat -nr
    >
    > By reenabling DHCP, the routing table is reset.
    > You can go into YaST2, and set up the routing such that the default
    > route always goes to eth1 since eth0 is strictly the LAN.

    -------------------------------------------------------

    -- 
    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: Johan Nielsen: "Re: [SLE] Disk order swapped under 9.1"

    Relevant Pages

    • Re: Fedora as Router - cannot get past gateway
      ... >> command so much, I am suprised any routing works at all. ... Are you using dhcp or is all config manual? ... > This is your interface to ISP? ... we all have that feeling when we can't get routing set up. ...
      (comp.os.linux.networking)
    • Re: Routing/Filtering: scalability
      ... >> internally bound local traffic is not routing through the Linux ... > box is to protect the main network from those on the other side. ... your internal routing needs -- it could be Linux as well. ... > cannot trust ANY of these computers but we need to let them onto our ...
      (comp.os.linux.networking)
    • RE: [opensuse] Good fast PC and printer in the UK?
      ... Another dull query about hardware recommendations. ... colour laser that is known to perform well with Linux. ... why not just get a dedicated wired-and-wireless router ... If the routing function absolutely must be accomplished via ...
      (SuSE)
    • Re: Fedora 4 Routing table question
      ... Fedora 4 Routing table question ... maybe it isn't my routing table. ... boxes can ping the Linux box and the Linux box can ping the windows ...
      (Fedora)
    • Re: routing_based_on_port/services
      ... A long time ago I was forced to solve very similar problem based on Linux ... First of all the thing you're trying to do is called "Policy Routing". ... I suggest using Linux kernel 2.4.x, ... Then you need to add a default gw to table table02: ...
      (Focus-Linux)