Hello,
I have debian linux machine with public IP 69.88.12.185. I wana route two different private network 192.168.0.0 and 192.168.1.0 through my PC to GW 69.88.12.161.
I have done the following process but not succeeded.
Step:1
#Ifconfig eth0 69.88.12.185 netmask 255.255.255.244
#ifconfig eth0:0 192.168.0.1 netmask 255.255.255.0
#ifconfig eth0:1 192.168.1.1 netmask 255.255.255.0
Step:2
#cat /etc/network/options
ip_forward=yes
spoofprotect=yes
syncookies=no
Step :3
# cat /proc/sys/net/ipv4/ip_forward
1
Step 4:
# route add net 192.168.0.0 netmask 255.255.255.0 gw 69.88.12.161
# route add net 192.168.1.0 netmask 255.255.255.0 gw 69.88.12.161
# route add default gw 69.88.12.161
pls help if possible. I will appreciated u kind assistance.
Russel
..
-----------------------------------------------------
Md. Shafiuddin Russel
LEARN Foundation
Contact: 0187529755, 0176199845
-----------------------------------------------------
Start your day with Yahoo! - make it your home page
No comments:
Post a Comment