[MLB-WIRELESS] Routing and AP mode WNIC
Michael Craig
michaeljohncraig at newmail.net
Fri Jan 24 13:57:17 EST 2003
Ahhh yes....I remember my first router setup....exacly the same mistake
Ok...what you need to do is have each interface on its own subnet
eg. WLAN 192.168.0.1 255.255.255.0
LAN 192.168.1.1 255.255.255.0
NET 204.28.43.200
then the routing table would look like (this is the default and it should
work).....
Dest Net Mask GW
0.0.0.0 0.0.0.0 204.28.43.200
192.168.0.0 255.255.255.0 192.168.0.1
192.168.1.0 255.255.255.0 192.168.1.1
etc etc
Ok, so why is it so.....a few steps
1. when a computer sends a packet it checks its Subnet mask to see if the
remote computer is on the same subnet.
2. if it is, it looks up its MAC addy and sends it straight there.
3. if not it looks up its routing table and finds which Gateway/Router
handles that subnet, and sends the packets to its MAC addy.
4. The router then looks at the DEST_IP field in the packet and begins at
step 1 again.
The reson why the modem has a Dest and Subnet Mask of 0.0.0.0 0.0.0.0 is to
allow any networks not entered as a seperate route, to pass via the "default
gateway" as entered in tcpip properties. NOTE: there sould only be one
default gateway
Thats pretty much a beginers guide to routing........but theres HEAPS more,
a great read is the course material from Cisco for their CCNA Cert. That
will make you pretty much an ipv4 savvy.
-----Original Message-----
From: owner-melbwireless at wireless.org.au
[mailto:owner-melbwireless at wireless.org.au]On Behalf Of Joe Hovel
Sent: Friday, 24 January 2003 12:02 PM
To: melbwireless at wireless.org.au
Subject: [MLB-WIRELESS] Routing and AP mode WNIC
Hi again....
Below is the routing table of my proxy server (486DX50/20MB RAM laptop,
running Windows 95B since 1999, 24/7 with less than a handful of
crashes!).
192.168.0.2 is the ethernet interface
192.168.0.20 is the wireless interface (default gateway 192.168.0.2)
Orinoco card running in AP mode
139.130.60.169 is the modem interface
I added the route: 192.168.0.20 255.255.255.255 192.168.0.2
192.168.0.2 1
manually.
Why can't I ping 192.168.0.20 from any of the machines connected to the
ethernet interface, or 192.168.0.2 form the machine connected to the
WLAN?
What am I missing? I know I can't route NETBEUI (which I use for network
browsing and filesharing - NETBIOS is turned off and file and printer
sharing is bound to NETBEUI), but I thought I should be able to pass
TCP/IP packets between the interfaces...
I have no trouble TCP/IP traffic running between the modem interface and
either of the other two (Internet access on ethernet and WLAN via Sambar
proxy server).... DO I need a "proxy" or "bridge" program to do the same
between the two others?
An explanation would be helpful.
Cheers,
Joe
Active Routes:
Network Address Netmask Gateway Address Interface
Metric
0.0.0.0 0.0.0.0 192.168.0.2 192.168.0.20
1
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.20
2
0.0.0.0 0.0.0.0 139.130.60.169 139.130.60.169
1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
139.130.0.0 255.255.0.0 139.130.60.169 139.130.60.169
1
139.130.60.169 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2
2
192.168.0.0 255.255.255.0 192.168.0.20 192.168.0.20
2
192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.0.20 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.0.20 255.255.255.255 192.168.0.2 192.168.0.2
1
192.168.0.255 255.255.255.255 192.168.0.20 192.168.0.20
1
224.0.0.0 224.0.0.0 192.168.0.2 192.168.0.2
1
224.0.0.0 224.0.0.0 139.130.60.169 139.130.60.169
1
224.0.0.0 224.0.0.0 192.168.0.20 192.168.0.20
1
255.255.255.255 255.255.255.255 139.130.60.169 139.130.60.169
1
Joe Hovel
School of Rural Health
Monash University, Bendigo
Ph: +61 3 5439 3042
Fax: +61 3 5439 3369
To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message
To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message
More information about the Melbwireless
mailing list