Re: [opensuse] Really need help from networking guru



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Art Fore wrote:
I really need some help on a networking problem that I have tried to
solve for several months now. At least point me to where I can find the
answer as I have searched the web and not found anything. (Could be I am
not asking right question, but I am not a programmer)

After booting up, I open a root console and execute the following
commands.

ifplugd -bfi eth1
route add default gw 192.168.11.1
route del default gw 10.18.32.1

This gets me internet access for linux on the wireless card. (eth0 is
used by Windows under parallels, normal network card)

I put these commands in /etc/init.d/boot.local.

When I boot, It does not work. If I try to enter them again in a root
console, the ifplugd -bfi eth1 seems to work, that is no error. The
route add default gw 192.168.11.1 comes back network unreachable.

So, I remove the commands from boot.local, reboot, then everything works
again after entering all of the commands in a root console.

What am I doing wrong?

Art




I suspect this may be because you are not explicitly associating the
default gw with the appropriate devices.... otherwise it tries to work
this out on its own which may in some circumstances give unpredictable
results... try ...

route add default gw 192.168.11.1 eth1
route del default gw 10.18.32.1 eth1

which might be more appropriate

see man route and have a look at the LNAG book (it is available online)...



- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG1/voasN0sSnLmgIRAnccAJ4p70qcXHJnVgBUXVEKwUEuqk2uBQCfRDt2
0hpdcq2QBV4ZVUjD+QCSPpg=
=2jdq
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • [SLE] networking problem
    ... I did a SuSE 9.2 install recently on a machine with 2 nics. ... I should note that the default route goes out eth1 (or what /usually/ ... 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 ...
    (SuSE)
  • Re: DSL works, almost
    ... > You should only have 1 default route and that should typically ONLY lead ... If you had static eth1 IP, there might be a different method ... Plus, the modem has its own PPPoE loaded, so I should let that handle ...
    (comp.os.linux.networking)
  • Re: FC4 internet connection
    ... can you post the output to the following commands? ... service network status ...
    (Fedora)
  • Re: configuring Multiple network cards
    ... Are the boxes at eth1 supposed to send password and file data out to the ... if you set the IP address of eth0 as the default gateway ... eth1 will send all packets there first. ... gw GW route packets via a gateway. ...
    (comp.os.linux.networking)
  • Re: [opensuse] Suse 10.2 +two network cards (Not yet solved)
    ... then set the eth0 as it was default from the installation. ... set eth1 DNS servers etc. so DHCP would not update them. ... Also have figure out where to put the route command ...
    (SuSE)