cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
423
Views
0
Helpful
2
Replies

Routing between VLAN inside C887VA-K9

joachim0111
Level 1
Level 1

Hi,

I have a C887VA-k9 router.

I have interface Fa0 with VLAN 1000 connected to the LAN. It's subnet 192.168.1.0. I can ping the router from a PC from the LAN. The DHCP give an ip coming from the router.

I have interface Fa1 with VLAN 1 (default VLAN) with subnet 192.168.255.10 connected to the internet via a modem with IP 192.168.255.11. I can access the web from the router there is no problem with that.

Or i can't access the web from a PC in the LAN, it seem that there is no routing between the two subnet, VLAN or i did try to enable "ip routing" and it don't take it in the show conf below.

It will be easy without going throught vlan but if i try to put directy an ip address on Interface Fa1 i have "% IP addresses may not be configured on L2 links."

Below all information in details.

Can you help me, why i can't access the web from the PC ?

Thanks a lot

 

Router#show ip interface brief

Interface                  IP-Address      OK? Method Status                Prot                     ocol

ATM0                       unassigned      YES NVRAM  administratively down down                    

Ethernet0                  unassigned      YES NVRAM  administratively down down                    

FastEthernet0              unassigned      YES unset  up                    up                      

FastEthernet1              unassigned      YES unset  up                    up                      

FastEthernet2              unassigned      YES unset  up                    down                    

FastEthernet3              unassigned      YES unset  down                  down                    

Vlan1                      192.168.255.10  YES NVRAM  up                    up                      

Vlan1000                   192.168.1.1     YES NVRAM  up                    up 

 

Router#show 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, H - NHRP, l - LISP        a - application route        + - replicated route, % - next hop override

Gateway of last resort is 192.168.255.11 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 192.168.255.11

      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.1.0/24 is directly connected, Vlan1000

L        192.168.1.1/32 is directly connected, Vlan1000

      192.168.255.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.255.0/24 is directly connected, Vlan1

L        192.168.255.10/32 is directly connected, Vlan1

 

 

 

show conf

version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
no aaa new-model

!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool RESO
 network 192.168.1.0 255.255.255.0
 dns-server 8.8.8.8
 default-router 192.168.1.1
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
license udi pid C887VA-K9 sn FCZ1851C0P0
!
controller VDSL 0
!!
interface ATM0
 no ip address
 shutdown
 no atm ilmi-keepalive
!
interface Ethernet0
 no ip address
 shutdown
!
interface FastEthernet0
 switchport access vlan 1000
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface FastEthernet3
 no ip address
!
interface Vlan1
 ip address 192.168.255.10 255.255.255.0
!
interface Vlan1000
 ip address 192.168.1.1 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
control-plane
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!

 

 

 

 

 

 

1 Accepted Solution

Accepted Solutions

Andre Neethling
Level 4
Level 4

You may need to configure NAT on this router. Who controls the device at 192.168.255.11?

View solution in original post

2 Replies 2

Andre Neethling
Level 4
Level 4

You may need to configure NAT on this router. Who controls the device at 192.168.255.11?

Thanks, yes apparently the problem was coming from missing NAT !

i have add :


Router(config)#interface vlan 1000

Router(config-if)# nat inside

 

Router(config)#interface vlan 1

Router(config-if)# nat outside


Router(config)#access-list 1 permit 192.168.1.0 0.0.0.255

Router(config)#ip nat inside source list 1 interface vlan 1 overload


And i have now the web from the PC.

Thanks a lof for your help

 

Review Cisco Networking for a $25 gift card