Click to See Complete Forum and Search --> : Continued Adventures in Networking (Routing)


TheLlamaRama
05-10-2002, 12:21 AM
Since ethernet cards are a heckuva lot cheaper than routers, I went ahead and picked one up to toss in my box along with the one currently connected to the 'net. Here's the revised setup:

Wall
|
Cable Modem
|
PC (SuSE 7.3)
|
iBook (MacOS X 10.1.4)

The hardware is all physically set up and wired, the PC recognizes the new ethernet card and still connects to the 'net with the old one, so what should I do next? I found the 'Routing' module of YaST2 pretty easily, but of course it all makes about zero sense to me at the moment. I'm assuming I'll have to set some values on the iBook's networking panel and then relay those to the PC to make everything click. Easy as that?

chikn
05-10-2002, 08:04 AM
You prolly want to first set your internal IP addressing. Usual for me is usually 192.1.1.1 for the gateway (your SuSE) and then 192.1.1.x for the other clients inside and use 192.1.1.1 as the gatway address and your Cables DNS server addresses (unless you want to use SuSE as a caching/fowarder for DNS but thats another thread)

The second step depends on what kind of gateway you want. You can simply run a routed connection. This would be an unfirewalled setup but very simple. SuSE will prolly route this connection with no other config if not than it would require very little config.

If you want SuSE to be the firewall then you need to look at an iptable NHF (if there is one) or google search theres an *** of documentation on it.

Lorithar
05-16-2002, 01:32 AM
Since we're talking about inside addressing you will want to have a NAT of somesort to get the client out on the net.

iptables.
ipchains.