Broadcast Over PPP
"James W. McKelvey" <[email protected]> Wed, 03 Nov 2010 10:30:35 -0700
| Newsgroups | gmane.linux.redhat.ppp |
|---|---|
| Organization | JPL |
| Message-ID | <[email protected]> |
Hello,
I have set up a PPP server on Linux and can connect to it from Windows.
I can ping in both directions and chat via UDP successfully.
But I need to use broadcast, which does not work no matter what I try.
When I try to ping the broadcast address from Linux, I get a response
from the local pp0 interface, not the other side. I can ping the
broadcast and get a proper response from the Windows side.
Notice that I have added a broadcast address to the pp0 interface and
changed the netmask. If I do not do that, I get no response at all to a
broadcast ping from the Linux side.
In any case, regardless of ping, no data passes with the broadcast chat.
So my question is, why isn't broadcast traffic passed in the natural
manner, and how can I make it work?
Thanks
[root@mushroom ppp]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
128.149.47.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.253.0 0.0.0.0 255.255.255.0 U 0 0 0 ppp0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0
0.0.0.0 128.149.47.1 0.0.0.0 UG 0 0 0 eth0
[root@mushroom ppp]# ip address
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:18:8b:27:bd:cd brd ff:ff:ff:ff:ff:ff
inet 128.149.47.60/24 brd 128.149.47.255 scope global eth0
inet6 fe80::218:8bff:fe27:bdcd/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
9: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
link/ppp
inet 169.254.253.1 peer 169.254.253.2/24 brd 169.254.253.255 scope
global ppp0
[root@mushroom ppp]# ping -b 169.254.253.255
WARNING: pinging broadcast address
PING 169.254.253.255 (169.254.253.255) 56(84) bytes of data.
64 bytes from 169.254.253.1: icmp_seq=0 ttl=64 time=0.042 ms
64 bytes from 169.254.253.1: icmp_seq=1 ttl=64 time=0.040 ms