[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Routing across ethernet and ppp?
A forewarn, I'm a newbie, so ignore my posting if you want.
On Tue, 02 May 2000 13:25:12 +1000, erich wrote:
| I then have a question, could the following setup work? ( I am not
| syaing it is the best)
|
| Machine 1: internet gateway
| PPP0: 139.x.x.x, netmask ?
| eth0: 203.x.x.1 netmask 255.255.255.0
| default route GW = 139.x.x.x ppp0
| route add net 192.168.0.0 eht0
| route add net 203.x.x.0 eht0
139.x.x.x, if I'm not wrong, IP starting with 139 is only served by Telstra
dial-up bigpond. Coz usually, what I think is, Australia is kinda assigned
by, who I don't really know, IP addresses that starts with 203, except for
education institutions, esp. universities, which have different from the ISP
starting IP. Observed this kind of occurance even in Singapore.
and eth0 is connected to... ?? cable modem? some kind of internet connection
such as ISDN, xDSL, Office LAN (not home LAN)??
Machine #1 will be reachable through the IP that's assigned to PPP, assuming
of course eth0 is connected simply to your LAN.
Can't figure that out.
Anyway, if I'm not wrong, ip for a gateway doesn't need to end to be
x.x.x.0, (right?), so you can simply eliminate adding that entry, it's
simply for easier bookkeeping.
|
| which gets connected to the local hub.
|
| On the same hub:
|
| Machine 2: NT box with web server
| eth0: 203.x.x.2 netmask 255.255.255.0
| dafault route GW=139.x.x.x eth0
| I don't know how to add routes to NT Machines
As everybody has knew that most of the TCP/IP in Windows NT are borrowed
from UNIX. So, whatever command you use in UNIX is applicable to Windows NT
too... to add routes, simpley "route add"
explicitly:
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^
|
| Machine 3 and more on the same hub but with private addresses
| eth0: 192.168.0.1 netmask 255.255.255.0
| route add net 203.x.x.0 eht0
| default route GW = 139.x.x.x eth0
I might be wrong... so flame me, still learning every second here.
_______________________________________________________
Get 100% private, FREE email for life from Excite Australia
Visit http://inbox.excite.com.au/
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text