Wired

 View Only
last person joined: 4 hours ago 

Expand all | Collapse all

Ping fails inter vlan clients

This thread has been viewed 12 times
  • 1.  Ping fails inter vlan clients

    Posted Nov 22, 2022 08:29 PM
    Hi,

    On the Switch 6300m.(two switches connected with VSF)
    Ver : ArubaOS-CX_6400-6300_10_10_1020

    PC2(10.10.20.1) connect to 1/1/5,
    PC3(10.10.30.1) connect to 1/1/6,

    1. Each PCs ping reaches the gateway.
    2. However, ping fails up to the other gateway and PC
    3. On the 6300m switch, ping reaches both PCs.




    The setting value is as follows.



    6300(config)# sh ip interface br
    Interface IP Address Interface Status
    link/admin
    vlan1 No Address down/up

    vlan20 10.10.20.254/24 up/up

    vlan30 10.10.30.254/24 up/up




    6300(config)# sh inter vl 20

    Interface vlan20 is up
    Admin state is up
    Description:
    Hardware: Ethernet, MAC Address: bc:d7:a5:b3:35:c0
    IPv4 address 10.10.20.254/24
    L3 Counters: Rx Disabled, Tx Disabled

    6300(config)# sh inter vl 30

    Interface vlan30 is up
    Admin state is up
    Description:
    Hardware: Ethernet, MAC Address: bc:d7:a5:b3:35:c0
    IPv4 address 10.10.30.254/24
    L3 Counters: Rx Disabled, Tx Disabled





    6300(config)# sh ip route

    Displaying ipv4 routes selected for forwarding

    Origin Codes: C - connected, S - static, L - local
    R - RIP, B - BGP, O - OSPF
    Type Codes: E - External BGP, I - Internal BGP, V - VPN, EV - EVPN
    IA - OSPF internal area, E1 - OSPF external type 1
    E2 - OSPF external type 2
    Flags: F - FIB-optimized route

    VRF: default

    Prefix Nexthop Interface VRF(egress) Origin/ Distance/ Age
    Type Metric
    --------------------------------------------------------------------------------------------------------
    10.10.20.0/24 - vlan20 - C [0/0] -
    10.10.20.254/32 - vlan20 - L [0/0] -
    10.10.30.0/24 - vlan30 - C [0/0] -
    10.10.30.254/32 - vlan30 - L [0/0] -

    Total Route Count : 4

    6300(config)#



    6300(config)#sh run

    .....
    interface 1/1/5
    no shutdown
    no routing
    vlan access 20
    interface 1/1/6
    no shutdown
    no routing
    vlan access 30
    ......


    Is there a command like 'ip routing'?
    so please give me a solution.
    Thanks.

    ------------------------------
    ???
    ------------------------------


  • 2.  RE: Ping fails inter vlan clients

    Posted Nov 23, 2022 12:32 AM
    Resolved.
    It works well when I turn off the wireless LAN card.
    My wireless LAN card is using a gateway
    So the wired LAN card could not use its gateway.
    So it could not route to the others...

    Thanks


    ------------------------------
    ???
    ------------------------------



  • 3.  RE: Ping fails inter vlan clients

    MVP GURU
    Posted Nov 23, 2022 10:33 AM
    Hi, for the matter of this test (but also on production)...on involved clients...when you have two or more interfaces and there is a Default Route already set via a particular Gateway (on a particular interface) you can always add a static permanent route to any other neighbor network (say on hosts belonging to VLAN 10 to reach VLAN 20 and on clients belonging to VLAN 20 to reach VLAN 10) specifying the NIC/Interface with its "Id" as reported by the OS.

    Adding a permanent static route of type Net (example for Microsoft OS client on VLAN 20) to reach VLAN 30 using a particular interface:

    route add -p 10.10.30.0 MASK 255.255.255.0 10.10.20.254 IF <interface-id> (where interface-id is the one reported by the route print command)

    and vice-versa (example for Microsoft OS client on VLAN 30) to reach VLAN 20:

    route add -p 10.10.20.0 MASK 255.255.255.0 10.10.30.254 IF <interface-id> (where interface-id is the one reported by the route print command)

    this should help you by avoiding to keep other NIC(s) disabled.