Re: dialin server not routing/forwarding???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for the post!
I think I found what was the problem!

My dialin server had 2 network cards (2 network interfaces eth0 and eth1)
I removed eth1 and it worked!

Thanks again!

Edward wrote:



Milen Dimitrov wrote:



Hi,
I just setup a dialin server on RedHat 9.
Dial in server is a member of LAN with common gateway 192.168.1.1.
I can browse internet from dial-in server and I can ping any other PC in the LAN.


From a windows PC i can dial in and connect to the server but I cannot browse Internet.
When connected to the dial-in server my windows PC has the following ipsettings and I cannot ping
any other PC in the LAN except dial in server (192.168.1.10) I'm connected to:
c:\>ipconfig /all
PPP adapter test2PPP:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.171
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.1.171
DNS Servers . . . . . . . . . . . : 192.168.1.2
192.168.1.3


As you see the IP and the gateway for my windows PC are the same - 192.168.1.171. Is this correct?

My guess is that the linux Dial-in server doesn't route/forward packets from PPP to the rest of the LAN?
How I can prove if it's true or not?
Which config files/log files to be check out?
Which tools I can use to debug it?


Thank you for the help in advance!
Milen
==================================
Please see some of config files bellow:
1. /etc/sysctl.conf
contains the line:
--------------------------
net.ipv4.ip_forward = 1
--------------------------
so cat /proc/sys/net/ip4fw/ip_forward
shows "1"

/etc/ppp/options
contains:
-----------------------
-detach
asyncmap 0
netmask 255.255.255.0
proxyarp
lock
crtscts
modem
noauth
ms-dns 192.168.1.1
ms-dns 192.168.1.1
---------------------

/etc/ppp/options.ttyS0
contains:
-----------------------
192.168.1.10:192.168.1.171
-----------------------


I *THINK* you need to specify 'defaultroute' in your /etc/ppp/options file to allow the ppp connection to change the computers default route to run through your modem ppp connection.


check what 'route -n' gives you while you're connected.

Regards,
Ed.






-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux