question about pppd + routing problem on freebsd 5.3
From: Haris Makripodis (haris_at_netplan.gr)
Date: 04/25/05
- Next message: KMK: "You can hang around all day if you like..."
- Previous message: Steve O'Hara-Smith: "Re: /usr/ports update with cvs"
- Next in thread: Haris Makripodis: "Re: question about pppd + routing problem on freebsd 5.3"
- Reply: Haris Makripodis: "Re: question about pppd + routing problem on freebsd 5.3"
- Reply: jpd: "Re: question about pppd + routing problem on freebsd 5.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Apr 2005 16:12:58 +0300
Hello to all
I'm using 2 identical pc's , with freebsd 5.3-RELEASE #0(generic kernel)
with a serial 56k modem and a nic connected, and 2 ip-phones connected
on each nic as shown below:
********** **********
*modem ~~~~~~~~~~~~~~~~~~~~~~~~~~ modem*
**|******* *******|**
| |
**|**************** *****************|**
*(ppp0)10.0.0.2 * * 10.0.0.1(ppp0)*
*pppd client * *pppd server *
*PC1 * *PC2 *
* * * *
*(dc0)192.168.2.40* * 192.168.1.21(xl0)*
**|**************** ****************|***
| |
**|************* ************|***
*192.168.2.242 * *192.168.1.241 *
*ip phone-a * *ip phone-b *
**************** ****************
My main purpose is the 2 ip-phones(Micronet SP5100,just in case)to
communicate at each other.
I issued these route commands to the PC1
route add 192.168.1.0 10.0.0.1
and those to the PC2
route add 192.168.2.0 10.0.0.2
The rc.conf of both PC's is very minimal containing only the basics and
the gateway_enable="yes"
On the PC2 side Im' using kernel ppp + mgetty and on the client kernel ppp.
PC1 Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
10.0.0.1 10.0.0.2 UH 1 10 ppp0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1 10.0.0.1 UGS 0 4 ppp0
192.168.2 link#1 UC 0 0 dc0
192.168.2.242 00:11:3b:04:5d:a3 UHLW 0 7 dc0 875
PC2 Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
10.0.0.2 10.0.0.1 UH 1 0 ppp0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1 link#2 UC 0 0 xl0
192.168.2 10.0.0.2 UGS 0 0 ppp0
From the PC2 I can ping both the ip's 192.168.2.40, 192.168.2.242 with
success.
From the PC1 I can only ping to 192.168.1.21 with success and I cannot
ping to 192.168.1.241.
Please suggest a solution to my problem.
Thank you for your time.
- Next message: KMK: "You can hang around all day if you like..."
- Previous message: Steve O'Hara-Smith: "Re: /usr/ports update with cvs"
- Next in thread: Haris Makripodis: "Re: question about pppd + routing problem on freebsd 5.3"
- Reply: Haris Makripodis: "Re: question about pppd + routing problem on freebsd 5.3"
- Reply: jpd: "Re: question about pppd + routing problem on freebsd 5.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|