pls share your /etc/network/interfaces
Posted: Sun Mar 17, 2019 6:10 pm
i am at my wits end. i have searched high and low for a configuration for 2 physical ethernet adapters with softether. here's my config:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname vpnserver
auto eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE 0.0.0.0 down
softether runs on a hyper-v vm with 2 virtual network adapters plugged into the same virtual switch. eth1 allows mac spoofing, with vlan set to trunk and 0,1-1000.
eth0 doesn't allow mac spoofing. vlan is set to access with a vlanid.
i have a pfsense vm running on the same virtual switch (vlan trunk, 0,1-1000). it serves as a dhcp server.
now i bind my hub to eth1. user cannot connect because there is no dhcp server connection.
i can see that eth1 is not working as expected. what's the correct config?
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname vpnserver
auto eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE 0.0.0.0 down
softether runs on a hyper-v vm with 2 virtual network adapters plugged into the same virtual switch. eth1 allows mac spoofing, with vlan set to trunk and 0,1-1000.
eth0 doesn't allow mac spoofing. vlan is set to access with a vlanid.
i have a pfsense vm running on the same virtual switch (vlan trunk, 0,1-1000). it serves as a dhcp server.
now i bind my hub to eth1. user cannot connect because there is no dhcp server connection.
i can see that eth1 is not working as expected. what's the correct config?