I'm sorry, but I lost your original message and I can't get a clear 
picture of your network topology.  My initial reaction to your ifconfig 
output is that you have two networks with the same ip address.  I would 
think that you would need two different ip addresses, one for each device.

The first problem seems to be that you can't ping the router from the 
dial-in-server.  This shouldn't have anything to do with the ppp device, 
so try disabling that device.  Your route table should look the same 
without the 192.168.0.178 line.  If you haven't established any firewall 
rules, you should be able to ping the gateway.  If that is the case, 
then you need a new IP address for the ppp device on your 
dial-in-server.  Choose a free IP address in this subnet 
(192.168.0.179?) to assign to your ppp interface.  The machine at the 
other end of the ppp link can still have the 192.168.0.178 address. 
 Hope this helps.  If I have the picture wrong, or other problems 
surface, I'll try to help as best I can.

Steve
A. Gent wrote:

>Hi Steve,
>
>Thank you for your reply.
>I have done 
># echo 1 > /proc/sys/net/ipv4/ip_forward
>
>Unfortunately it does not solve the problem,
>when I am pinging the router (192.168.0.1) from the
>dial-in box (192.168.0.177) I am getting the message:
>
>>From 192.168.0.178: Destination host unreachable
>
>#netstat -nr on the dial-in server (192.168.0.177):
>
>Destination     Gateway    Genmask       Flags   
>Iface
>192.168.0.178   0.0.0.0  255.255.255.255 UH       ppp0
>192.168.0.0     0.0.0.0  255.255.255.0   U        eth0
>127.0.0.0       0.0.0.0. 255.0.0.0       U        lo
>0.0.0.0        192.168.0.1  0.0.0.0      UG       eth0
>
>ifconfig on the dial-in server (192.168.0.177):
>
>eth0
>inet addr: 192.168.0.177 Bcast:192.168.0.255 
>Mask:255.255.255.0
>
>ppp0
>inet addr: 192.168.0.177 P-t-P:192.168.0.178 Mask:
>255.255.255.255
>
>
>Any suggestion, please?
>
>Thank you.
>Art
>
>
>  
>
>>You need to enable forwarding on the dial in server. 
>>I have accomplished this using the following command:
>>    
>>
>
>  
>
>># echo 1 > /proc/sys/net/ipv4/ip_forward
>>    
>>
>
>  
>
>>I sent this command out recently and received the
>>following reply:
>>    
>>
>
>  
>
>>>Nowadays these values are usually not set directly
>>>      
>>>
>using the proc filesystem 
>  
>
>>>but by using sysctl. Try setting
>>>net.ipv4.ip_forward = 1
>>>in /etc/sysctl.conf.
>>>      
>>>
>
>  
>
>>You may still need firewalling and/or cipe, but
>>neither of those is likely to be your problem right
>>now.
>>    
>>
>
>  
>
>>Steve
>>    
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>  
>





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to