Simple routing question about my setup

From: Ken Williams (kenw232_at_yahoo.com)
Date: 06/29/04

  • Next message: Dan McDaid: "Re: Caching nameserver"
    Date: Tue, 29 Jun 2004 21:30:31 GMT
    
    

    When I bootup this is what sets up my network/eth0.

    # Network Block: 49.90.8.176 / 28

    # Add loopback
    /sbin/ifconfig lo 127.0.0.1
    /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

    # Ethernet Config Info
    IPADDR="49.90.8.180"
    NETMASK="255.255.255.240"
    NETWORK="49.90.8.176"
    BROADCAST="49.90.8.191"
    GATEWAY="49.90.8.177"

    /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
    /sbin/route add -net ${NETWORK} netmask ${NETMASK} dev eth0
    /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1

    It results in this (route command output):

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    49.90.8.176 0.0.0.0 255.255.255.240 U 0 0 0 eth0
    49.90.8.176 0.0.0.0 255.255.255.240 U 0 0 0 eth0
    49.0.0.0 0.0.0.0 255.0.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 69.90.8.177 0.0.0.0 UG 1 0 0 eth0

    What is causing the net 49.0.0.0 netmask 255.0.0.0 to be there? I need to
    remove that, I know I can do a "route del -net..." but I don't want it to be
    there to begin with at bootup. What do I have to change to get rid of that?
    Its causing all packets from any ip thats starts with 49. to go nowhere.

    This is linux 2.4.26/slackware 9.1.

    Thanks.


  • Next message: Dan McDaid: "Re: Caching nameserver"

    Relevant Pages

    • Re: Press F1 on bootup
      ... disk when there isn't one there, perhaps that may the problem and like ... >testing her pc, her floppy happened to be dead as a dodo, but in device ... two weeks ago upon bootup with winxp pro I was getting press F1 ... >> is causing this annoyance and how can I get the computer to not stop ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: XP Freezes
      ... the only thing i have installed is an antivirus software ... >Have you installed any new applications that could be ... causing a problem at ...
      (microsoft.public.windowsxp.general)
    • Re: Explorer fails to load properly when booting WinXP Pro
      ... Something that installs itself during bootup seems to be hanging up causing ... Thanks Darrell. ...
      (microsoft.public.windowsxp.general)
    • Re: Fedora 64-bit running much slower
      ... I spoke too soon! ... I wish I knew what was causing ... Everything is once again taking longer (bootup, opening windows ...
      (Fedora)
    • windows xp bootup
      ... everytime that i bootup my computer and windows xp the system 32 file opens. ... would like to find out what is causing this and correct the situation. ...
      (microsoft.public.windowsxp.help_and_support)