about using ppp over ethernet

Yavuz Maşlak yavuz.maslak at netiletisim.net
Sat May 30 20:08:15 UTC 2009


I use freebsd7.1

I have a adsl modem. I am going to use freebsd as a router and firewall. I 
wish to use over pppoe. I set the adsl modem as a bridge mode.
I configured ppp.conf on freebsd.
When I try to connect to internet using ADSL,  But I get an error as below; 
Freebsd can't ping at any outside ip. Therefore I am not able to reach to 
internet in this way.
What am I doing wrong?
Any advice ?

Thanks

May 21 17:35:54 gw110 ppp[1215]: tun0: Phase: bundle: Establish
May 21 17:35:54 gw110 ppp[1215]: tun0: Phase: deflink: closed -> opening
May 21 17:35:54 gw110 ppp[1215]: tun0: Phase: deflink: Connected!
May 21 17:35:54 gw110 ppp[1215]: tun0: Phase: deflink: opening -> dial
May 21 17:35:54 gw110 ppp[1215]: tun0: Phase: deflink: dial -> carrier
May 21 17:35:55 gw110 ppp[1215]: tun0: Phase: Received NGM_PPPOE_ACNAME 
(hook "SE-ATAKOY-NEC-1")
May 21 17:35:55 gw110 ppp[1215]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May 21 17:35:55 gw110 ppp[1215]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May 21 17:35:55 gw110 ppp[1215]: tun0: Phase: deflink: carrier -> login
May 21 17:35:55 gw110 ppp[1215]: tun0: Phase: deflink: login -> lcp
May 21 17:35:56 gw110 ppp[1215]: tun0: Phase: bundle: Authenticate
May 21 17:35:56 gw110 ppp[1215]: tun0: Phase: deflink: his = PAP, mine = 
none
May 21 17:35:56 gw110 ppp[1215]: tun0: Phase: Pap Output: xyza at ttnet 
********
May 21 17:35:57 gw110 ppp[1215]: tun0: Phase: Pap Input: SUCCESS ()
May 21 17:35:57 gw110 ppp[1215]: tun0: Phase: deflink: lcp -> open
May 21 17:35:57 gw110 ppp[1215]: tun0: Phase: bundle: Network
May 21 17:35:57 gw110 ppp[1215]: tun0: Warning: 0.0.0.0/0: Change route 
failed: errno: No such process
May 21 17:35:57 gw110 ppp[1215]: tun0: Warning: ff02:7::/32: Change route 
failed: errno: Network is unreachable

cat /etc/rc.conf
gw110# ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:60:97:b8:77:eb
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
stge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
        ether 00:22:15:10:73:04
        inet 10.11.1.221 netmask 0xffffff00 broadcast 10.11.1.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 
1500
pflog0: flags=0<> metric 0 mtu 33204
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
pfsync0: flags=0<> metric 0 mtu 1460
        syncpeer: 224.0.0.240 maxupd: 128
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1492
        inet 88.238.76.207 --> 88.238.64.1 netmask 0xffffffff
        Opened by PID 1215
tun1: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500
gw110# ping 88.238.76.207
PING 88.238.76.207 (88.238.76.207): 56 data bytes
64 bytes from 88.238.76.207: icmp_seq=0 ttl=64 time=0.831 ms
64 bytes from 88.238.76.207: icmp_seq=1 ttl=64 time=0.222 ms
64 bytes from 88.238.76.207: icmp_seq=2 ttl=64 time=0.206 ms 

Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kişiler listesine özeldir. Eğer adınız gönderilen kişiler listesinde yer almıyorsa, lütfen derhal gönderen kişiyi bilgilendiriniz ve içeriğini herhangi başka bir kişiye iletmeyiniz, herhangi bir amaç için kullanmayınız, sayısal ve basılı ortamlar dahil olmak üzere saklamayınız ve kopyalamayınız.


This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you.


More information about the freebsd-questions mailing list