Hi I’ve been working for a home environment
I have pfsense running on a proxmox virtual environtment.
also I have Cisco Castalyst 2960
my problem is my pfsense WAN cannot get an ip address from my ISP.
for my cisco configuration I have created a vlan 50 for my trunk and assigned port 24 and port 23 to a vlan 50.
on my proxmox environment I added network device(virtualized) and tag them as vlan 50 for my wan
and the lan interface of my proxmox machine was set to vlan 1 as also a default vlan id of my cisco switch
if i hook a cable from any of the ports of the vlan 1 I can obtain an IP Address from my lan ,
however my WAN stil cannot,
any suggestion and help
I would really appreciate it
Thanks in advance
Please provide the config for the switch (show run) and screenshots of the network settings in Proxmox for the host and VM interface.
Thanks for reply.
please see detailed screenshot
Cisco Build configuration
the rest image can be found here
Your switch config doesn’t have anything for VLAN 50 in it. It is possible that you forgot to “copy running-config starting-config” before removing the power / rebooting it. Anyway, what interface is your ISP plugged into, and what interface is Proxmox vmbr0 plugged into?
thanks for keep answering my issue,
i forgot to mention that i am very new to a cisco thing
I never had that idea that i need to copy the running config before rebooting thanks for that.
by the way my ISP plugged into port 24 then the proxmox interface have plugged it on port 1.
by the way I added port 24 to my vlan 50
You didn’t show port 1’s config, but I’ll tell you what it should look like:
switchport mode trunk
You also need to declare, outside of any interface, every additional vlan you want to use. Just run:
If you still have trouble please show the whole switch config again. And remember to “copy run start” every time you make changes and are happy with them. The reason changes aren’t auto-saved on most enterprise equipment is if you do something that causes you to lose access, it can be faster to have someone reboot the device to restore the saved config which allowed the normal access.
I have just make my fastehthernet0/1 to switchport mode trunk
but still the same
please see updated configuration
Run these commands (all of them and nothing else):
no switchport trunk allowed vlan
- Your config still doesn’t have “vlan 50” at the system level. A Cisco switch only allows through the VLANs that have been added to it.
- the command “switchport trunk allowed vlan 1” means to ONLY allow the listed VLANs on that port.
Just an update.
aftr running those commands , my wan interface obtaining an IP Address from my network.
but please see image below.
I don’t have any connected at Port 24 as my vlan 50
thanks for this awesome help