RE: [SLE] Two network cards (dual-homed), two gateways? Desparatefor help
From: Damon Jebb (list_at_damonjebb.net)
Date: 04/07/04
- Previous message: Lovette Burland: "[SLE] Apache server on SuSE8"
- In reply to: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparate for help"
- Next in thread: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparatefor help"
- Reply: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparatefor help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <suse-linux-e@suse.com> Date: Wed, 7 Apr 2004 17:47:39 +0100
<SNIP>
So are you suggesting no default gateway AND nothing in the expert
settings? Because that is essentially the situation. Traffic that hits
the machine via the 192 network card just needs to return via the
gateway for that card. Same for the 10 network. That's all. This
computer isn't a router. It just stradles two networks.
</SNIP>
No, I'm saying that you need a default gateway that suits the needs of
your clients and the server and this can be different for the clients
and server, and different for the clients on each of the two networks.
If clients on the 10. network need access to the 192. network then this
machine is routing packets between the two networks. For clients on the
10. network set the default gateway to the IP address of the network
card on the 10. network in the server. If the default gateway on the
192. network is a machine or device other than the server then you need
to have both a default gateway and a route to the 10. network defined.
But none of this is directly relevant to the server - as I said the
default gateway defines how a machine will attempt to route packets for
networks that it doesn't know anything about, a machine on the 192.
network will send all non 192. network packets to the default gateway,
unless it knows something better to do with them. The important thing
about the server is to correctly configure it to route packets between
the two networks that it is connected to - it is a router because it
connects two different networks.
On clients on the 192 network I think you will have to setup the dual
homed server as the gateway, this way they will send all packets for any
network other than the 192. network to this machine. This machine will
then choose whether to send the packets to the 10. network card or on to
the external gateway (if you have one). So if the gateway machine on
the 192. network is 192.168.1.1 and the server nic on this network is
192.168.1.2 then set all clients to have default gateway 192.168.1.2,
set the server to have default gateway = 192.168.1.1 If the 10. network
nic on the server has the IP 10.0.0.1 then all clients on the 10 network
should have default gateway = 10.0.0.1. If you don't have an external
gateway then I don't think the server needs a default gateway, but
attempts to access any network other than the 10. or 192. will probably
fail.
You then need to make sure that the server is set to forward packets
between the networks. You may, also want to setup a firewall, but I
would leave this until you have a working system.
Damon
-- 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
- Previous message: Lovette Burland: "[SLE] Apache server on SuSE8"
- In reply to: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparate for help"
- Next in thread: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparatefor help"
- Reply: Preston Crawford: "RE: [SLE] Two network cards (dual-homed), two gateways? Desparatefor help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|