[SLE] problem with route add in ip-up script

From: Josef Mueller (joef_at_joefmiller.net)
Date: 07/29/04

  • Next message: Stephen: "Re: [SLE] network/internet setup"
    Date: Thu, 29 Jul 2004 16:58:09 +0200
    To: suse-linux-e@suse.com
    
    

    my System: SUSE 9.0 professional
    I use wvdial to connect my mashine to different networks
    for example: modem connection ppp1
    pppd: local IP address 192.168.1.102
    pppd: remote IP address 192.168.2.1
    in ip-up i use "route add -net 192.168.1.0 netmask 255.255.255.0 gw
    192.168.2.1"

    that worked fine for 2 years, but suddenly it doesn't
    I cant see the route (with "route")
    also no errors in messages

    it still works, if I enter the route-command by hand in the shell (as
    root), but I don't want to give normal users the right to add routes

    I'm sure that the route-comand in ip-up is executed (I enterd some
    loggings before and after the route-command, also pings in there work fine)

    anyone an idea about the cause or how to find more debug-messages.....

    Thank you!
    Josef Mueller
    Austria

    -- 
    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: Stephen: "Re: [SLE] network/internet setup"

    Relevant Pages

    • Re: PPTP client, masquerade and routing
      ... # name of primary network interface (before tunnel) ... # provided by pppd: string to identify connection aka ipparam option ... route add -host $dev $ ...
      (comp.os.linux.networking)
    • Re: (difficult) pppd and route table
      ... Yes - but you are still missing the loopback interface. ... there is now an 'eth1' interface. ... pppd has nothing to do with that. ... of 'route' use 'route -n'. ...
      (comp.os.linux.networking)
    • Re: pppd is up, but cannot ping/traceroute/connect to internet - help please
      ... You cannot ping by IP address, even the peer's (ISP connection host's) ... But there was a default route through the PPP interface, ... route at the time of the PPP connection then pppd wouldn't assign a PPP ... A conflict between the NIC IRQ and the serial device IRQ might cause ...
      (comp.os.linux.networking)
    • Re: ppp IP address problem
      ... ]>]I have noticed a weird problem with pppd, when dialing from my notebook ... ]That option is not listed in man pppd. ... ]>]eth0 when connected to my local network. ... ]> default route to your eth0 to route traffic to the other machine on that ...
      (comp.os.linux.networking)
    • Re: Fedora Core 1 apparent routing problems
      ... It does *sound* like you have no default route. ... But I have no idea why "Fedora Core 1" would automatically set up such ... You have the correct default route through the ppp0 interface, ... I'd say you have either a pppd or device file configuration problem, ...
      (comp.os.linux.networking)