ant0ha Posted July 7, 2011 Posted July 7, 2011 (edited) Добрый день. Пытаюсь настроить сервер доступа по L2TP на FreeBSD использую mpd5, quagga Вроде все настроил, авторизация проходит, но с ospf какая то проблема... вместо обычного маршрута появляется какой то "as external" опыта мало поэтому прошу помочь.. ifconfig re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> ether 00:24:21:aa:e7:5c inet 10.83.4.1 netmask 0xffffff00 broadcast 10.83.4.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1400 inet 172.29.254.254 --> 172.16.245.191 netmask 0xffffffff mpd.conf startup: set user t0ha 1234 admin set user anton 1234 set console self 127.0.0.1 5005 set console open set web self 0.0.0.0 5006 set web open default: load l2tp_server l2tp_server: create bundle template B set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp set ipcp range 172.29.254.254/32 0.0.0.0/0 set ipcp dns 95.167.118.142 95.167.118.141 set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless create link template L l2tp set link action bundle B set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set l2tp self 10.83.4.1 set link enable incoming load radius radius: set radius server 192.168.100.101 secret 1812 1813 set radius retries 3 set radius timeout 3 set radius me 10.83.4.1 set auth acct-update 300 set auth enable radius-auth set auth enable radius-acct set radius enable message-authentic ospfd.conf ! ! Zebra configuration saved from vty ! 2011/07/04 15:16:00 ! hostname ospfd password zebra log file /usr/local/etc/quagga/ospfd.log log stdout ! interface re0 ip ospf network broadcast interface ng0 ip ospf network point-to-point router ospf ospf router-id 10.83.4.2 neighbor 10.83.4.254 network 10.83.4.0/24 area 0.0.0.0 network 172.16.0.0/12 area 0.0.0.0 passive-interface default no passive-interface re0 distribute-list ospf out connected redistribute kernel redistribute connected ospfd.log 2011/07/07 08:30:39 OSPF: ASBR[status:1]: Update 2011/07/07 08:30:39 OSPF: ASBR[status:2]: Update 2011/07/07 08:30:39 OSPF: ASBR[status:2]: Already ASBR 2011/07/07 08:30:39 OSPF: OSPFd 0.99.17 starting: vty@2604 2011/07/07 08:30:39 OSPF: interface 10.83.4.1 [1] join AllSPFRouters Multicast group. 2011/07/07 08:30:39 OSPF: LSA[Type5:0.0.0.0]: Not originate AS-exntenal-LSA for default 2011/07/07 08:30:40 OSPF: DR-Election[1st]: Backup 10.83.4.1 2011/07/07 08:30:40 OSPF: DR-Election[1st]: DR 10.83.4.254 2011/07/07 08:30:40 OSPF: DR-Election[2nd]: Backup 10.83.4.1 2011/07/07 08:30:40 OSPF: DR-Election[2nd]: DR 10.83.4.254 2011/07/07 08:30:40 OSPF: interface 10.83.4.1 [1] join AllDRouters Multicast group. 2011/07/07 08:30:40 OSPF: DR-Election[1st]: Backup 10.83.4.1 2011/07/07 08:30:40 OSPF: DR-Election[1st]: DR 10.83.4.254 2011/07/07 08:30:40 OSPF: Packet[DD]: Neighbor 10.25.8.2: Initial DBD from Slave, ignoring. 2011/07/07 08:30:40 OSPF: Packet[DD]: Neighbor 10.25.8.2 Negotiation done (Master). 2011/07/07 08:30:40 OSPF: LSA[Type5:0.0.0.0]: Not originate AS-exntenal-LSA for default 2011/07/07 08:30:40 OSPF: nsm_change_state(10.25.8.2, Loading -> Full): scheduling new router-LSA origination 2011/07/07 08:30:41 OSPF: DR-Election[1st]: Backup 10.83.4.1 2011/07/07 08:30:41 OSPF: DR-Election[1st]: DR 10.83.4.1 2011/07/07 08:30:41 OSPF: DR-Election[2nd]: Backup 10.83.4.254 2011/07/07 08:30:41 OSPF: DR-Election[2nd]: DR 10.83.4.1 2011/07/07 08:30:41 OSPF: DR-Election[1st]: Backup 10.83.4.254 2011/07/07 08:30:41 OSPF: DR-Election[1st]: DR 10.83.4.1 Edited July 7, 2011 by ant0ha Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.