Results 1 to 6 of 6
Hello, I have a stupid problem with my linux box
Here is the scenario:
Linux box has 4 interfaces without the loopback interface:
eth0 172.22.0.0/24 from that interface I receive ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-07-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Bulgaria
- Posts
- 26
Routing problem?
Hello, I have a stupid problem with my linux box
Here is the scenario:
Linux box has 4 interfaces without the loopback interface:
eth0 172.22.0.0/24 from that interface I receive PPPOE connection which is:
ppp0 213.240.xxx.xxx/32
also I have a private network in my home:
eth1 10.0.0.1/24 which has 4 computers which use the internet connection from ppp0.
there is no problem about the interfaces above. but I have a vpn server which gives interface ppp1 with server IP 10.0.1.1 and client IP: 10.0.1.100
when I make a connection to the vpn server from internet the ppp1 interface is UP and i can ping IP 10.0.1.1 and IP 10.0.1.100 from the server
I have a client pc from my home network which IP is 10.0.0.5 and IP 10.0.0.1 set for default gw. it can ping 10.0.0.1 and 10.0.1.1 but it cannot ping 10.0.1.100 which is the main task.
if you have any idea why 10.0.0.5 cannot ping 10.0.1.100 plz help
- 08-08-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
They cannot ping eachother because they're in different subnets.if you have any idea why 10.0.0.5 cannot ping 10.0.1.100 plz helpserzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 08-08-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 28
I think that it's not the real problem because the client sets 10.0.0.1 as the gateway and this box has another IP in the range if 10.0.1.xxx . Maybe you should set the router settings for the server, to tell it route the requests to 10.0.1.xxx via vpn device.
Originally Posted by serz
- 08-08-2005 #4Just Joined!
- Join Date
- Jan 2005
- Location
- Bulgaria
- Posts
- 26
ok they are in different subnets, but I set up a default GW on the 10.0.0.5 which means that every packet which is not for the local subnet should be sent to the gateway.
Originally Posted by serz
also I added in the 10.0.0.1 this:
route add 10.0.1.0 mask 255.255.255.0 10.0.0.1
which also didn't work.
when i create a vpn connection the default gw on the vpn client pc is changed to 10.0.1.1
should I run a script which adds 10.0.0.0/24 on the vpn client pc?
- 08-08-2005 #5Just Joined!
- Join Date
- Jan 2005
- Location
- Bulgaria
- Posts
- 26
what do you mean? how can I make this?
Originally Posted by hr.asadi
- 08-09-2005 #6Just Joined!
- Join Date
- Jul 2005
- Posts
- 28
try the 'ip' command. you should set the router settings there.


Reply With Quote
