pfSense on single NIC, and different MAC Address

john335745634

New Member
Mar 9, 2023
9
0
1
I will like to use pfSense with one NIC and have this config

I am currently using Unraid and passign trought 2 eth ports
Code:
                       +--------+                
       +-------+       |        |            
       |  PC1 |--------+ LAN    |         +--------------------+              
       +-------|       |        |         |                        
       +-------|       |         ---------+ LAN Unraid         |            
       |  PC2 |--------+ LAN    |         |                    |                    
       +-------+       |        |         |      UNRAID VM     |                    
                       |        |         |                        |                  
                       |        |         |                    |                    
                       |        |---------| VM LAN eth0 Passtrough|                    
                       |        |         |                    |                    
                       +--------+         |                    |  
                                             |                    |
         Internet(spectrum) --------------+ VM WAN eth1 Passtrough (mac xx:yy:zz:...)
                                             +--------------------|
                     
                     
                     
                Internet(spectrum)




Code:
                       +--------+                 
       +-------+       |        |             
       |  PC1 |--------+ LAN    |         +--------------------+               
       +-------|       |        |   LAN   |                    |                         
       +-------|       |         ---------+                    |             
       |  PC2 |--------+ LAN    |         |                    |                     
       +-------+       |        |         |      PFSENSE VM    |                     
                       |        |         |     in Proxmox     |                   
      +----------------+VLAN111 |         |                    |                     
Internet(spectrum)     |        |         |                    |                       
                       +--------+         +--------------------|

I've tried to set it up with just configuring:
vtnet.111 for the WAN
vtnet for LAN

however it does not work

I think since I need to add a MAC address to the WAN connection.

What is the simpliest way ofhaving a WAN with a different MAC using one NIC?
 
Last edited:
you create on the host interface 2 vlan ports. Then u create for both a separate bridge without vlan awareness.
to the pfsense vm u connect 1 interface to every bridge.
 
What is the simpliest way ofhaving a WAN with a different MAC using one NIC?

in pfSense you modify the MAC of the parent interface, it will propagate to all assigned child VLAN interfaces. You can't change the MAC of a VLAN interface by itself.