UNSOLVED

Mel214

updated

6 years ago

M

Mel214

1 Rookie

•

1 Message

0

1983

September 24th, 2020 21:00

Inter Vlan Routing Dell N2024

Hi,

I need help in configuring inter VLAN routing on a N2024 switch. Just basic routing for testing purposes. I want to connect a device on one subnet (10.21.21.12) to a sever which on a different subnet (10.21.24.31). 

So far I have created 2x Vlans. Vlan 10(10.21.22.1/24) and Vlan 20(10.21.24.1/24).

I have assigned Port 5-7 to Vlan 10 and Port 13-15 to Vlan 20. 

All I need is to establish connection between the 2 Vlans so that my devices can connect.

I am new to networking, so please free to ask any other information. Thanks

  • 1204

    0

    Posted September 25th, 2020 06:00

    Try sometime like this

    interface vlan 10
    ip address 10.21.22.1 255.255.255.0
    exit
    interface vlan 20
    ip address 110.21.24.1 255.255.255.0
    exit
    interface range Gi1/0/5-7
    switchport access vlan 10
    exit
    interface range Gi1/0/13-15
    switchport access vlan 20
    exit
    ip routing
    exit

    However your doing DHCP / IP assignment - your pc/nodes default gateway needs to be the vlan interface ip they belong to.  The ip routing command is what enables it as layer3 switch for inter-vlan routing.


    Then create small vlan /30 or /29 subnet to between switch & firewall.  Assign vlan to switch port like above. Then give switch/stack the default gateway to inet/firewall
    ip route 0.0.0.0 0.0.0.0 FIREWALL INSIDE IP

    Then you need to create static routes on firewall for each vlan on switch.  10.21.22.0/24 --> "inet" vlan interface ip on switch.  This is so traffic can return.