Hi, posting to ask for help. I've been reading a bunch of different posts and trying different configurations without any success. I'm trying to setup my proxmox node to run OpnSense as a VM and use it as router and firewall. The main problem is that the WAN does not assign an IP from my modem Arris SB6190 using Comcast internet.
Here are a bunch of things I've tried:
Relevant Proxmox `ip a`:
Proxmox /etc/network/interfaces
OpnSense VM network devices:
OpnSense config:
Here are a bunch of things I've tried:
- Connecting my computer directly to the modem works fine, or connecting through a dumb switch works too. The computer gets a public IP address (comcast ip space).
- I've tried quickly changing different directly connected devices and it works fine so I don't think the MAC address is sticky.
- I've tried assigning an IP address to the proxmox vmbr1 connection. I am able to reach the internet from proxmox host if I do that. Pinging the modem 192.168.100.1 or the comcast upstream gateway 73.140.226.1 from proxmox works, but OpnSense still does NOT work.
- Connecting my computer and the modem to an easy managed switch TL-SG1016PE does NOT work.
- Rebooting the modem, does NOT help.
- I tried checking "Disable Gatway Monitoring" for the WAN gateway as per some other post about comcast, but that doesn't help.
- I unchecked "Block private networks" and "Block bogon networks" in OpnSense WAN interface
- Pinging the modem 192.168.100.1 or the comcast upstream gateway 73.140.226.1 from OpnSense does NOT work.
- Tried getting an IP address from my computer connected to the modem, then setting it as the static IP for OpnSense with mac mirroring. Does NOT work.
- Tried to set modem to bridge mode, but it does NOT have a setting for that.
Relevant Proxmox `ip a`:
Code:
2: enxa0cec894b02e: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether xx:xx:xx:xx:b0:2e brd ff:ff:ff:ff:ff:ff
3: enxa0cec8731c07: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master vmbr1 state DOWN group default qlen 1000
link/ether xx:xx:xx:xx:1c:07 brd ff:ff:ff:ff:ff:ff
5: vmbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether xx:xx:xx:xx:1c:07 brd ff:ff:ff:ff:ff:ff
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether xx:xx:xx:xx:b0:2e brd ff:ff:ff:ff:ff:ff
inet 10.0.1.3/16 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::xx:xx:xx:b02e/64 scope link
valid_lft forever preferred_lft forever
Proxmox /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface enxa0cec8731c07 inet manual
#WAN
iface enxa0cec894b02e inet manual
#LAN
auto vmbr1
iface vmbr1 inet manual
bridge-ports enxa0cec8731c07
bridge-stp off
bridge-fd 0
#WAN
auto vmbr0
iface vmbr0 inet static
address 10.0.1.3
netmask 255.255.0.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1
bridge-ports enxa0cec894b02e
bridge-stp off
bridge-fd 0
#LAN
OpnSense VM network devices:
- net0 virtio=xx:xx:xx:xx:85:2C,bridge=vmbr1,queues=4
- net1 virtio=xx:xx:xx:xx:5A:51,bridge=vmbr0,queues=4
OpnSense config:
- LAN
- Interface xx:xx:xx:xx:5A:51
- IP address 10.0.0.1
- WAN
- Interface xx:xx:xx:xx:85:2C
- Using DHCP
- Block priovate networks unchecked
- Block bogon networks unchecked
Last edited: