-----Original Message----- From: Bill Moseley [mailto:moseley@hank.org]
I need some help understanding the /29 network setup for 5 static IPs.
The network will look like this (I think), for example, although I don't know what actual IP numbers I'll have.
Gateway IP for my DSL provider, for example: .193 (not part of my 5 IP addresses)
In one SuSE box acting as router and firewall .194 NIC connected to DSL bridge .195 NIC connected to my LAN
I don't think you can do the above, see below. You could use .193 for your gateway, .194 for nic1, with subnet masks of /30, then you could use .197 for nic2, and .198 for one more machine with subnet masks of /30.
That leaves me three IP numbers: .196 SuSE box - maybe running secondary DNS until I can find a friendly person to host No other services .197 Wife's laptop .198 Dialup? Another machine? Masquerade for a larger 192.168.x.x house network? Or something so I can use the last IP depending on where I plug in another laptop.
Questions: ----------
My confusion is with routing. I think I understand how to set up the internal machine -- just make the default route point to the .195 (internal NIC on the "router") machine. And then enable IP_FORWARD in rc.config on the routing machine.
What I'm confused about, and wonder if Linux can do this, is how to setup routing on the machine with two NIC cards. What's confusing is that two different IP numbers on the _same_ subnet are available by different routes.
Can anyone detail the steps required to do this kind of setup? I'm a bit lost about setting up the routing and netmasks.
Basically you would need to set up the dual NIC machine as a bridge instead of a router. You could possibly also subnet your /29 subnet into two /30 subnets as mentioned above but that is really limiting your number of useable IPs. I can't help you with the details of setting up the bridging but it would go something like this: DSL bridge <-> eth0 Bridge eth1 <-> hub. Then you would plug up to four (or five, not sure if the bridge config would even consume an IP) of the computers into the hub. I, however, would put one or two of your computers directly onto the internet with appropriate security in place which would still only use 1 or 2 IPs, and then would IPMasq/IPNat the other ones on a private subnet. Greg Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/