Using both LAN and WIFI
My work requires me to connect to a Server via Local Area Network. But to browse the internet, I had to plug it off and switch to a Wireless Network. I found a way to use both LAN and WIFI at the same time by configuring the Routing Table. Its easier in Linux/Unix environment.
After searching for quite some time, I've finally succeeded to apply the same method in Windows. So here's the commands :
1. Create routing of 10.23.179.100 to use gateway 10.23.184.1 using network card no.3
ROUTE ADD 10.23.179.100 10.23.184.1 METRIC 25 IF 0X3
Note : if the above command failed, type again without the "IF 0x3"
2. Create 192.168.1.1 as default gateway, ie using the internet
ROUTE ADD 0.0.0.0 MASK 0.0.0.0 192.168.1.1
3. Display the routing table.
ROUTE PRINT
Ping to both the local server ip and Yahoo website to check the connection.
After searching for quite some time, I've finally succeeded to apply the same method in Windows. So here's the commands :
1. Create routing of 10.23.179.100 to use gateway 10.23.184.1 using network card no.3
ROUTE ADD 10.23.179.100 10.23.184.1 METRIC 25 IF 0X3
Note : if the above command failed, type again without the "IF 0x3"
2. Create 192.168.1.1 as default gateway, ie using the internet
ROUTE ADD 0.0.0.0 MASK 0.0.0.0 192.168.1.1
3. Display the routing table.
ROUTE PRINT
Ping to both the local server ip and Yahoo website to check the connection.
0 Comments:
Post a Comment
<< Home