Re: [opensuse] KNetworkmanager and routes
- From: "John Andersen" <jsamyth@xxxxxxxxx>
- Date: Sat, 12 Apr 2008 12:06:35 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Apr 12, 2008 at 2:43 AM, Koenraad Lelong wrote:
John Andersen schreef:
> On Fri, Apr 11, 2008 at 3:39 AM, Koenraad Lelong
> wrote:
>> Hello,
>> I have a laptop running 10.3 and the NIC's (wired and wireless) are managed
>> with KNetworkmanager. It runs fine except that I seem unable to get the
>> extra routes I set up in dhcp.
>> Any thoughts ?
>> --
>> Regards,
>> Koenraad Lelong
>
> Please explain Koenraad.
>
> Usually when using dhcp one leaves routes to the dhcp client daemon
> because you are at the mercy of the dhcp server to determine what IP you
> will get at any given moment, and the routes are managed for you each with
> IP lease.
>
> What additional routes are you trying to add?
>
>
Answering from home.
Sorry for the confusion.
At work I have two Internet-connections : cable and adsl. Adsl provides
my fixed IP-address, for mail and some other services, cable provides a
higher-speed connection, for surfing the Internet. Each has it's own
Suse-server which acts as firewall/proxy and each of these connect to a
router connected to the Internet. Maybe this "drawing" helps :
Internet --- cable-router --- Suse 1 --- laptop
|- other PC's
Internet --- adsl-router --- Suse 2 --- desktop
|- Other devices
My dhcp-server assigns a default gateway (Suse 1) that has access to the
cable-connection. That gateway has no connection to the adsl router, so
I set up a route in the dhcp-server to point at the "adsl-gateway" to
access the router and those "other devices". I have also some vpn's via
the adsl-router. For the far-end-addresses I also set up routes in the
dhcp-server.
On a desktop system, with non-KNetworkmanager setup, all is fine. If I
execute "route" I see the extra routes and I can use them. But on my
laptop I only see the default gateway, and I can't have access to those
extra routes.
I hope this makes things more clear.
A last remark : the laptop and the desktop run (Suse-)linux. It seems
Windows can't handle those extra routes.
Regards,
Koenraad Lelong.
If I were you, I would simplify that whole scenario to having one SUSE server
with three nics (you could force it to work with just two but why bother).
Two nics go to external interfaces (cable and adsl) and one nic for
internal, and also to serve as your internal dhcp server.
That way, the only thing that needs extra routes defined is
that single suse server. Then with something like Shorewall
you set up your routing. Its much easier to configure dual
ISPs and routes with shorewall in my opinion.
If you use an wireless router for laptops, put it inside, on
the internal network, shut of dhcp on it, and use it as an
access point only.
One machine to configure, set up dhcp, handle routes,
manage vpns, traffic shaping, etc.
They way you have it you have pushed the routing problem
to every internal machine. Thats overly complex
and unnecessary. Any cheap PC with three knicks
and a 2 gig hard drive can server as your router/firewall.
- --
- ----------JSA---------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: http://getfiregpg.org
iD8DBQFIAQg8v7M3G5+2DLIRAhzGAKCLVnWIm/izfEy1hk1Sll2JHxyYAwCgrmDC
PDUD6JtwmUPkN9RglJp/ptc=
=Or68
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] KNetworkmanager and routes
- From: Koenraad Lelong
- Re: [opensuse] KNetworkmanager and routes
- References:
- [opensuse] KNetworkmanager and routes
- From: Koenraad Lelong
- Re: [opensuse] KNetworkmanager and routes
- From: John Andersen
- Re: [opensuse] KNetworkmanager and routes
- From: Koenraad Lelong
- [opensuse] KNetworkmanager and routes
- Prev by Date: Re: [opensuse] Where to find list of repositories for opensuse11
- Next by Date: [opensuse] Re: Command-line automatic remounting of USB hard-drives
- Previous by thread: Re: [opensuse] KNetworkmanager and routes
- Next by thread: Re: [opensuse] KNetworkmanager and routes
- Index(es):
Relevant Pages
|