You are not logged in.
Hi,
I have a laptop with wireless (rt2500) and wired nic. Both work fine, but I am in a situation where I need to connect the wireless to one network, and the wired to another network. (Wireless to the internet, and wired to small home network). Im not trying to bridge them. I can set this up pretty easily, just using DHCP for both the wireless and wired, but after 15 minutes to an hour, requests I make on the wireless side try going over the wired network.
I tried fix it by:
route add -net 10.18.0.0 netmask 255.255.0.0 ra0
route add -net 192.168.1.0 netmask 255.255.255.0 eth0but still after a half hour or so the requests I make on wireless (internet) try going over the wired interface.
Any ideas on how to keep these two interfaces associated with their respective networks?
Thanks ![]()
Last edited by DeltaXFX (2007-03-16 16:19:52)
The Internet...? Is that thing still around?
Offline
I just had an AHA moment and think I solved my problem.
route -n gives me
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ra0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.18.0.1 0.0.0.0 UG 0 0 0 ra0So both eth0 and ra0 have destinations to the 0.0.0.0 network. Thats no good because only ra0 really goes to the internet. so I just did
route del -net 0.0.0.0 eth0So now
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ra0
0.0.0.0 10.18.0.1 0.0.0.0 UG 0 0 0 ra0Only one route for the internet, no more problems ![]()
The Internet...? Is that thing still around?
Offline