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,
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?
You didn’t show port 1’s config, but I’ll tell you what it should look like:
interface FastEthernet0/1
switchport mode trunk
You also need to declare, outside of any interface, every additional vlan you want to use. Just run:
vlan 50
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.