linux router

Taking care of your Linux box.
newbie
Company Havaldaar Major
Posts: 156
Joined: Thu Aug 08, 2002 4:18 am
Location: lahore
Contact:

Postby newbie » Sun Aug 24, 2003 2:27 am

for the network of 192.168.168.0/24 pcs use the default gateway of 192.168.168.1
and for the network of 10.0.0.0/8 use the default gateway of 10.0.0.1

now of linux machine

route add -net 10.0.0.0 netmask 255.0.0.0 dev eth0:0
and

route add -net 192.168.168.0 netmask 255.255.255.0 dev eth0


make sure that iptables or ipchains is not doing anything wrong and ipforwarding is enabled by setting the value 1 in file.

may be this would help.

Babarq
Lance Naik
Posts: 28
Joined: Fri Mar 07, 2003 12:30 pm

Postby Babarq » Sat Aug 30, 2003 5:47 pm

Sorry bout that
aoa
the IP Ranged 10.x.x.x will never be on the same Lan as 192.x.x.x ....


They would be on different subnets ....
Regards
BQ


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests