Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Question about vlan routing on an EX 3300

$
0
0

I'm setting up a test environment/lab and am not able to get routing from a host on a vlan to off of the switch on to a separate network.

 

Vlan33 ( cloud )

Host A ( 192.168.33.10 )

The switch is 192.168.33.1

 

Vlan5 ( wan )

I have an old router at 192.168.5.1

The switch has an ip 192.168.5.2

 

HostA can ping 192.168.5.2, but never 192.168.5.1 which leads to the outside world.

 

I can ping from outside to 192.168.5.2.  And on the 192.168.5.x network I can ping 192.168.5.1.

 

I have set up other vlans ( 172.16.2 ) and put hosts on them and all the hosts can ping between themselves ( 192.168.33.x  to/from 172.16.2.x ) across vlans with no issues.

 

I upgraded to 12.3R12.4 tonight but that didn't make a difference.

 

I have a static route set up:

routing-options {
    static {
        route 0.0.0.0/0 next-hop 192.168.5.1;
    }
}
root@switch1> show route

inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0          *[Static/5] 02:11:19
                    > to 192.168.5.1 via vlan.5
172.16.1.5/32      *[Local/0] 02:14:31
                      Reject
172.16.2.1/32      *[Local/0] 02:14:27
                      Reject
192.168.5.0/24     *[Direct/0] 02:05:45> via vlan.5
192.168.5.2/32     *[Local/0] 02:05:45
                      Local via vlan.5
192.168.33.0/24    *[Direct/0] 02:14:15> via vlan.33
192.168.33.1/32    *[Local/0] 02:14:27
                      Local via vlan.33

show interfaces terse

vlan                    up    up
vlan.2                  up    down inet     172.16.2.1/24
vlan.5                  up    up   inet     192.168.5.2/24
vlan.33                 up    up   inet     192.168.33.1/24
root@switch1:RE:0% ping -c 3 192.168.5.1
PING 192.168.5.1 (192.168.5.1): 56 data bytes
64 bytes from 192.168.5.1: icmp_seq=0 ttl=64 time=2.581 ms
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=1.864 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=2.074 ms

--- 192.168.5.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.864/2.173/2.581/0.301 ms


root@switch1:RE:0% ping -c 3 -F 192.168.33.1 192.168.5.1
PING 192.168.5.1 (192.168.5.1): 56 data bytes
^C
--- 192.168.5.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

I'm guessing it's something really simple but any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>