cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1294
Views
0
Helpful
10
Replies

Default gateway issue

kcross
Level 1
Level 1

Running into an issue with placing a layer two switch into production and could use some assistance. So in our environment we have a firewall that handles all of the DCHP and routing to the internet, our switch just acts as a layer 2 device (Catalyst 9300). For some reason when placing the switch into our environment I am unable to reach the default gateway which is the interface on the firewall. I know it is something small I am missing but I can't quite put my finger on it. The default gateway is currently set to 10.10.1.1 (which is the v1 interface on the the firewall. I will post a text file of our config, any suggestions would be greatly appreciated! 

10 Replies 10

kcross
Level 1
Level 1

In the config you will see a SVI for vlan 5 that is set to 10.20.1.10 but that was for our test network. Also, the firewall is plugged into gig ethernet 1/0/1

Hello @kcross ,

the following command

>> ip default-gateway 10.10.1.1

applies to device that have ip routing disabled.

IF your cat9300 has ip routing enabled you need to use a static default route like

ip route 0.0.0.0 0.0.0.0 10.10.1.1

or you need to enter

no ip routing

Assuming that 10.10.1.1 is the FW IP address and that you can ping it from the switch

Hope to help

Giuseppe

 

The issue is I am unable to ping the firewall at 10.10.1.1 when I should be able to 

 

can you share firewall config (at least the interfaces)

-hope this helps-

interface GigabitEthernet1/0/21
 switchport trunk native vlan 3
 switchport trunk allowed vlan 3,6
 switchport mode trunk

native VLAN 3 ??? why you change the native vlan ?
why vlan 1 not allow ??

Need to remove this, all vlan traffic should be tagged

sorry I dont get? can you more elaborate ?

The native vlan 3 should not be there, that portion I will need to remove

 

when you check the VLAN allow in trunk do you see VLAN 1 ??
I see in your config only VLAN3 and 5 there is no VLAN1?

for native vlan 3, I see trunk native vlan1 and other trunk native vlan3, 
this sure issue for SW and forwarding frame that receive it untag. 

kcross
Level 1
Level 1

kcross_0-1669825383854.png

here are the interfaces on the firewall

Review Cisco Networking for a $25 gift card