Linux :
Here
what you need to do just open terminal or you can use shortcut
(Ctrl+Alt+T) then type :
sudo
ip route add 172.16.0.0/16 via 10.5.11.1
but
if you restart your system its all gone just open the file in
"/etc/rc.local"
and insert it there without the sudo.
Windows:
Open your cmd(command Prompt) and to the following:
C:\Windows\system32>netsh.exe
netsh>interface
netsh interface>ip
netsh interface
ipv4>show interface
Idx Met
MTU State Name
--- ----------
---------- ------------ ---------------------------
1 4275
4294967295 connected Loopback Pseudo-Interface 1
27 20
1400 connected VPN Connection
11 4245
1500 connected Local Area Connection
15 4245
1400 disconnected Kerio Virtual Network
netsh interface
ipv4>add route 192.168.0.0/16 11 10.5.11.1
Ok.
netsh interface
ipv4>add route 172.16.0.0/16 11 10.5.11.1
Ok.
netsh interface
ipv4>exit
if you wanted to check your where your routing goes issue the command below :
netsh interface
ipv4>show route
0 comments:
Post a Comment