Конфиг немного изменился...
!
! Last configuration change at 15:01:32 MSD Sun Oct 3 2010
!
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime localtime show-timezone
no service password-encryption
!
hostname Melchior
!
boot-start-marker
boot-end-marker
!
logging buffered 4096
no logging console
enable secret 5 ***
enable password ***
!
no aaa new-model
no process cpu extended history
no process cpu autoprofile hog
memory-size iomem 10
clock timezone Moscow 3
clock summer-time MSD recurring last Sun Mar 2:00 last Sun Oct 2:00
no ip source-route
!
!
!
!
ip cef
no ip domain lookup
ip name-server 213.234.192.8
ip name-server 85.21.192.3
ip inspect name InspectRule icmp
ip inspect name InspectRule tcp
ip inspect name InspectRule udp
no ipv6 cef
l2tp-class corbina
!
!
!
no virtual-template snmp
!
!
license udi pid CISCO881-K9 sn FCZ143393X0
!
!
!
!
pseudowire-class class1
encapsulation l2tpv2
protocol l2tpv2 corbina
ip local interface FastEthernet4
!
!
!
!
!
interface Loopback0
ip address 192.168.0.1 255.255.255.0
ip virtual-reassembly
shutdown
!
interface Null0
no ip unreachables
!
interface FastEthernet0
description *** LAN ***
duplex full
speed 100
no cdp enable
spanning-tree portfast
!
interface FastEthernet1
shutdown
no cdp enable
spanning-tree portfast
!
interface FastEthernet2
shutdown
no cdp enable
spanning-tree portfast
!
interface FastEthernet3
shutdown
no cdp enable
spanning-tree portfast
!
interface FastEthernet4
description +++ L2TP Provider +++
ip address dhcp
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
duplex full
speed 100
no cdp enable
!
interface Virtual-PPP1
description --- L2TP virtual ---
ip address negotiated
ip access-group FireVal in
ip mtu 1460
ip nat outside
ip inspect InspectRule in
ip virtual-reassembly
ip tcp adjust-mss 1420
no peer neighbor-route
no keepalive
ppp chap hostname ***
ppp chap password 7 ***
no cdp enable
pseudowire 85.21.0.255 10 pw-class class1
!
interface Vlan1
description === Lan ===
ip address 192.168.1.100 255.255.255.0
ip access-group FireVal in
ip nat inside
ip inspect InspectRule in
ip virtual-reassembly
!
no ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source static udp 192.168.1.11 7476 interface Virtual-PPP1 7476
ip nat inside source static tcp 192.168.1.11 7474 interface Virtual-PPP1 7474
ip nat inside source static udp 192.168.1.11 12966 interface Virtual-PPP1 12966
ip nat inside source list LAN interface FastEthernet4 overload
ip nat inside source list WAN interface Virtual-PPP1 overload
ip route 0.0.0.0 0.0.0.0 Virtual-PPP1
ip route 10.0.0.0 255.0.0.0 dhcp
ip route 83.102.146.96 255.255.255.224 dhcp
ip route 85.21.29.242 255.255.255.255 dhcp
ip route 85.21.79.0 255.255.255.0 dhcp
ip route 85.21.90.0 255.255.255.0 dhcp
ip route 195.14.50.16 255.255.255.255 dhcp
ip route 85.21.17.253 255.255.255.255 dhcp
ip route 89.179.135.67 255.255.255.255 dhcp
ip route 195.14.50.21 255.255.255.255 dhcp
ip route 195.14.50.1 255.255.255.255 dhcp
ip route 85.21.0.251 255.255.255.255 dhcp
ip route 85.21.0.253 255.255.255.255 dhcp
ip route 172.16.16.0 255.255.255.0 dhcp
ip route 85.21.108.19 255.255.255.255 dhcp
ip route 195.14.50.26 255.255.255.255 dhcp
ip route 85.21.72.83 255.255.255.255 dhcp
ip route 85.21.0.255 255.255.255.255 dhcp
!
ip access-list extended FireVal
deny tcp any eq 139 any
deny udp any eq netbios-ns any eq netbios-ns
deny udp any eq netbios-dgm any eq netbios-dgm
deny udp any eq netbios-ss any eq netbios-ss
deny udp any any range snmp snmptrap
deny tcp any any eq 3128
deny ip 10.0.0.0 0.0.255.255 any
deny ip 127.0.0.0 0.0.0.255 any
deny udp any any range 130 140
deny tcp any any range 130 140
deny tcp any any eq 8080
permit ip any any
permit udp any any
permit gre any any
permit tcp any any
permit icmp any any echo-reply
permit icmp any any time-exceeded
permit icmp any any unreachable
permit pcp any any
permit esp any any
permit ipinip any any
permit nos any any
permit tcp any any eq 7474
permit udp any any eq 7476
permit udp any any eq 12966
deny ip any any
ip access-list extended LAN
permit ip 192.168.1.0 0.0.0.255 10.0.0.0 0.255.255.255
permit ip 192.168.1.0 0.0.0.255 83.102.146.0 0.0.0.231
permit ip 192.168.1.0 0.0.0.255 host 85.21.29.242
permit ip 192.168.1.0 0.0.0.255 85.21.79.0 0.0.0.255
permit ip 192.168.1.0 0.0.0.255 85.21.90.0 0.0.0.255
permit ip 192.168.1.0 0.0.0.255 host 195.14.50.16
permit ip 192.168.1.0 0.0.0.255 host 195.14.50.26
deny ip any any
ip access-list extended WAN
permit ip 192.168.1.0 0.0.0.255 any
deny ip any any
!
logging trap emergencies
logging 192.168.1.11
access-list 115 permit ip 192.168.1.0 0.0.0.255 any
no cdp run!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
access-class 115 in
password ***
login
transport input telnet
transport output none
!
scheduler max-task-time 5000
ntp server 207.232.83.70
end
---------------------------------------------------------------
Melchior#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is 10.73.16.1 to network 0.0.0.0
S* 0.0.0.0/0 [254/0] via 10.73.16.1
10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
S 10.0.0.0/8 [1/0] via 10.73.16.1
C 10.73.16.0/21 is directly connected, FastEthernet4
L 10.73.19.232/32 is directly connected, FastEthernet4
83.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
S 83.102.146.96/27 [1/0] via 10.73.16.1
S 83.102.233.202/32 [254/0] via 10.73.16.1, FastEthernet4
85.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
S 85.21.0.251/32 [1/0] via 10.73.16.1
S 85.21.0.253/32 [1/0] via 10.73.16.1
S 85.21.0.255/32 [1/0] via 10.73.16.1
S 85.21.17.253/32 [1/0] via 10.73.16.1
S 85.21.29.242/32 [1/0] via 10.73.16.1
S 85.21.72.83/32 [1/0] via 10.73.16.1
S 85.21.79.0/24 [1/0] via 10.73.16.1
S 85.21.90.0/24 [1/0] via 10.73.16.1
S 85.21.108.19/32 [1/0] via 10.73.16.1
89.0.0.0/32 is subnetted, 1 subnets
S 89.179.135.67 [254/0] via 10.73.16.1
172.16.0.0/24 is subnetted, 1 subnets
S 172.16.16.0 [1/0] via 10.73.16.1
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, Vlan1
L 192.168.1.100/32 is directly connected, Vlan1
195.14.50.0/32 is subnetted, 4 subnets
S 195.14.50.1 [1/0] via 10.73.16.1
S 195.14.50.16 [1/0] via 10.73.16.1
S 195.14.50.21 [1/0] via 10.73.16.1
S 195.14.50.26 [254/0] via 10.73.16.1
---------------------------------------------------
Melchior#sh vpdn
L2TP Tunnel and Session Information Total tunnels 1 sessions 1
LocTunID RemTunID Remote Name State Remote Address Sessn L2TP Class/
Count VPDN Group
31039 31236 bras255.msk est 85.21.0.255 1 corbina
LocID RemID TunID Username, Intf/ State Last Chg Uniq ID
Vcid, Circuit
63913 32344 31039 10, Vp1 est 00:00:01 1
---------------------------------------------------------
Melchior#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0 unassigned YES unset up up
FastEthernet1 unassigned YES unset administratively down down
FastEthernet2 unassigned YES unset administratively down down
FastEthernet3 unassigned YES unset administratively down down
FastEthernet4 10.73.19.232 YES DHCP up up
Loopback0 192.168.0.1 YES NVRAM administratively down down
NVI0 unassigned YES unset administratively down down
Virtual-PPP1 unassigned YES NVRAM up down
Vlan1 192.168.1.100 YES NVRAM up up
-------------------------------------------
Melchior#show ip interface virtual-ppp1
Virtual-PPP1 is up, line protocol is down
Internet address will be negotiated using IPCP
Broadcast address is 255.255.255.255
MTU is 1460 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is FireVal
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is enabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF switching turbo vector
IP Null turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is enabled, interface in domain outside
BGP Policy Mapping is disabled
Input features: Stateful Inspection, Virtual Fragment Reassembly, Access List, Virtual Fragment Reassembly After IPSec Decryption, NAT Outside, MCI Check, TCP Adjust MSS
Output features: CCE Output Classification, Post-routing NAT Outside, Stateful Inspection, Firewall (NAT), Firewall (inspect), TCP Adjust MSS
Inbound inspection rule is InspectRule
----------------------------------------------
Почему интерфейс Virtual-PPP1 теряет адрес ip?
Как через него пойдёт роутинг? (ip route 0.0.0.0 0.0.0.0 Virtual-PPP1)
С интерфейса FastEthernet0 идут пинги в локалку, а с FastEthernet4 пингуются интернет сервера по ip.
------------------------------
Вот дебаг
*Mar 1 00:00:02.667: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c880-data Next reboot level = advsecurity_npe and License = advsecurity_npe
*Oct 3 17:33:58.051: %IFMGR-7-NO_IFINDEX_FILE: Unable to open nvram:/ifIndex-table No such file or directory
*Oct 3 17:34:15.643: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to up
*Oct 3 17:34:16.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Oct 3 17:34:16.643: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to up
*Oct 3 20:34:18 Moscow: %SYS-6-CLOCKUPDATE: System clock has been updated from 17:34:18 UTC Sun Oct 3 2010 to 20:34:18 Moscow Sun Oct 3 2010, configured from console by console.
*Oct 3 21:34:18 MSD: %SYS-6-CLOCKUPDATE: System clock has been updated from 20:34:18 Moscow Sun Oct 3 2010 to 21:34:18 MSD Sun Oct 3 2010, configured from console by console.
*Oct 3 21:34:19 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
*Oct 3 21:34:20 MSD: %LINK-5-CHANGED: Interface Loopback0, changed state to administratively down
*Oct 3 21:34:20 MSD: %LINK-5-CHANGED: Interface FastEthernet1, changed state to administratively down
*Oct 3 21:34:20 MSD: %LINK-5-CHANGED: Interface FastEthernet2, changed state to administratively down
*Oct 3 21:34:20 MSD: %LINK-5-CHANGED: Interface FastEthernet3, changed state to administratively down
*Oct 3 21:34:21 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to down
*Oct 3 21:34:21 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
*Oct 3 21:34:21 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to down
*Oct 3 21:34:27 MSD: %SYS-5-CONFIG_I: Configured from memory by console
*Oct 3 21:34:27 MSD: %FW-6-INIT: Firewall inspection startup completed; beginning operation.
*Oct 3 21:34:27 MSD: %LINK-3-UPDOWN: Interface Virtual-PPP1, changed state to up
*Oct 3 21:34:31 MSD: %LINK-5-CHANGED: Interface NVI0, changed state to administratively down
*Oct 3 21:34:31 MSD: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9_NPE-M), Version 15.1(1)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Mon 19-Jul-10 07:17 by prod_rel_team
*Oct 3 21:34:31 MSD: %SNMP-5-COLDSTART: SNMP agent on host Melchior is undergoing a cold start
*Oct 3 21:34:32 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Oct 3 21:34:32 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to down
*Oct 3 21:34:32 MSD: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*Oct 3 21:34:41 MSD: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet4 assigned DHCP address 10.73.19.232, mask 255.255.248.0, hostname Melchior
-------------------------------------------