cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1584
Views
0
Helpful
7
Replies

Inter-vlan Routing

rodrigo2673
Level 1
Level 1

Hello,

I hope you can help me. I am not sure what I'm missing in this configuration. I've 2 PC's in 100.0.0.0/24 Vlan 100 on a 3550 switch. I've created an SVI 10 connected to my sky router (192.168.0.0/24)

Here is the info:

Top#sh ip int bri | exc una

Interface              IP-Address      OK? Method Status                Protocol

Vlan10                 192.168.0.100   YES manual up                    up

Vlan100                100.0.0.10      YES manual up                    up

Gateway of last resort is 192.168.0.1 to network 0.0.0.0

     100.0.0.0/24 is subnetted, 1 subnets

C       100.0.0.0 is directly connected, Vlan100

C    192.168.0.0/24 is directly connected, Vlan10

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

Top#ping google.com

Sending 5, 100-byte ICMP Echos to 173.194.41.142, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 40/41/44 ms

Top#

Top#ping 100.0.0.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 100.0.0.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

Top#ping 100.0.0.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 100.0.0.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Top#ping 192.168.0.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Top#

Top#sh ip cef

Prefix               Next Hop             Interface

0.0.0.0/0            192.168.0.1          Vlan10

0.0.0.0/32           receive

100.0.0.0/24         attached             Vlan100

100.0.0.0/32         receive              Vlan100

100.0.0.1/32         attached             Vlan100

100.0.0.2/32         attached             Vlan100

100.0.0.10/32        receive              Vlan100

100.0.0.255/32       receive              Vlan100

192.168.0.0/24       attached             Vlan10

192.168.0.0/32       receive              Vlan10

192.168.0.1/32       attached             Vlan10

192.168.0.2/32       attached             Vlan10

192.168.0.5/32       attached             Vlan10

192.168.0.12/32      attached             Vlan10

192.168.0.100/32     receive              Vlan10

192.168.0.255/32     receive              Vlan10

224.0.0.0/4          drop

224.0.0.0/24         receive

240.0.0.0/4          drop

255.255.255.255/32   receive

From my client PC's in vl 100 (100.0.0.1/24)

C:\>ping 192.168.0.1

Pinging 192.168.0.1 with 32 bytes of data:

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Ping statistics for 192.168.0.1:

    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Ethernet adapter Lan:

        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 100.0.0.1

        Subnet Mask . . . . . . . . . . . : 255.255.255

        Default Gateway . . . . . . . . . : 100.0.0.10

C:\>ping 100.0.0.10

Pinging 100.0.0.10 with 32 bytes of data:

Reply from 100.0.0.10: bytes=32 time=2ms TTL=255

Reply from 100.0.0.10: bytes=32 time=2ms TTL=255

Reply from 100.0.0.10: bytes=32 time=2ms TTL=255

Reply from 100.0.0.10: bytes=32 time=2ms TTL=255

thank you in advance,

Rod

2 Accepted Solutions

Accepted Solutions

Hi,

Does the sky router have a route back to 100.0.0.0/24 network, if it hasn't then it won't work.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

Hi Rodrigo,

Please verify "ping 192.168.0.1 source vlan 100" from you switch.

If ping fails, verify the routing table entries in your sky router - "show ip route 100.0.0.0"

If it does not have a route, add a static route "ip route 100.0.0.0 255.255.255.0 192.168.0.100"

Again verify "ping 192.168.0.1 source vlan 100" from you switch.

Rajmohan R

View solution in original post

7 Replies 7

rodrigo2673
Level 1
Level 1

sorry forgot to add sh vl bri

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active    Fa0/4, Fa0/5, Fa0/6, Fa0/7

                                                Fa0/8, Fa0/9, Fa0/10, Fa0/11

                                                Fa0/12, Fa0/13, Fa0/14, Fa0/15

                                                Fa0/16, Fa0/17, Fa0/18, Fa0/19

                                                Fa0/20, Fa0/21, Fa0/22, Fa0/24

                                                Gi0/1, Gi0/2

10   Ferrari                          active    Fa0/2

20   Lamborghini                      active

100  VLAN0100                         active    Fa0/3, Fa0/23

1002 fddi-default                     act/unsup

1003 token-ring-default               act/unsup

Vlan100 is up, line protocol is up

  Internet address is 100.0.0.10/24

  Broadcast address is 255.255.255.255

  Address determined by setup command

Vlan10 is up, line protocol is up

  Internet address is 192.168.0.100/24

  Broadcast address is 255.255.255.255

  Address determined by setup command

Hi,

Does the sky router have a route back to 100.0.0.0/24 network, if it hasn't then it won't work.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

rizwanr74
Level 7
Level 7

Hi Rodrigo,

Please try to extended ping "google.com" by sourcing from svi 100

ping

Protocol [ip]: 4.2.2.2

Source address or interface: 100.0.0.10

If you cannot ping, then there is nat missing for network segment 100.0.0.0/24.

You should able to ping 192.168.0.100 from you PC though.

thanks

Rizwan Rafeek.

Hi Rodrigo,

Please verify "ping 192.168.0.1 source vlan 100" from you switch.

If ping fails, verify the routing table entries in your sky router - "show ip route 100.0.0.0"

If it does not have a route, add a static route "ip route 100.0.0.0 255.255.255.0 192.168.0.100"

Again verify "ping 192.168.0.1 source vlan 100" from you switch.

Rajmohan R

gajularamu
Level 1
Level 1

Hi Rodrigo,

I guess what Cadet siad is right, did you check on your sky router that it is having a route back to vlan100?

if not,u can give static route for vlan 100 network on router facing to switch vlan 10.

the other case, you can make router acting like host by disbling the route lookup and giving the default-gateway to vlan 10.(if you  want your router to act like host just like the othetr PC's.

Thanks & regards

Ramu Gajula

rodrigo2673
Level 1
Level 1

Thank you All for all your replies.

Unfortunately there is no option in the Sky router to add a static route back to my vlan(s)

Best regards,

Rod

Hi,

ok in this case is there any option to run a routing protocol like RIPv2  on the Sky router?

if so then you can advertise these vlan to the router  with RIPv2 on the switch.

The last problem is that maybe the router won't accept to NAT the vlans and in this case you won't be able to get to the Internet because you can't NAT on the L3 switch and your vlans will only be able to talk to the router but not further.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card