LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PPP netmask (https://www.linuxquestions.org/questions/linux-networking-3/ppp-netmask-44046/)

RHrulz 02-04-2003 11:12 AM

PPP netmask
 
I can ppp from Win2k machine into RH Server. But it always sets the netmask to 255.255.255.255. I have 'netmask 255.255.255.0' in /etc/ppp/options AND in /etc/ppp/option.ttyxxx. any idea why it won't give me the netmask I want?
:confused:

baldy3105 02-04-2003 11:25 AM

Netmask is a negotiable parameter on PPP, both ends can effect the outcome. 255.255.255.255 is a normal netmask for PPP anyway.

RHrulz 02-04-2003 11:41 AM

maybe the netmask is not my problem:

I want to be able to access 2 servers on the same LAN on the server side. My Win2k machine (client) dials into 1 of the servers but i need to access info on the other server also.

baldy3105 02-04-2003 11:53 AM

Then you need the Linux box you are dialing to act like a RAS server. i.e. it needs to route traffic from your PPP connection to the LAN. Assign your PPP dialin an ip network that is different from your LAN network. Start routing on the Linux RAS server, and add a route to the second linux box pointing to the RAS server and Bobs your auntie.

Can't help with commands and such being a newb myself, but lots of clever chaps here will fill in the blanks I'm sure.


All times are GMT -5. The time now is 08:22 AM.