Closed Kryptonit3-zz closed 3 years ago
Ok, after hours of tinkering here is what I did.
In ESXi I clicked Host > Manage > Hardware and then toggled ethernet ports 1, 2, 3 to allow PCI passthrough and rebooted ESXi host. If your host is using the primary port 0 DO NOT ENABLE PCI Passthrough! I screwed up doing this and it messed all the networking up and I had to reset system through the console and manually reconfigure my VMs. 0 is my main VM ethernet port that also carries traffic for my various VMs. 1, 2, 3 are my ONT, RG and LAN ports.
Once the host rebooted I then went into my pfSense VM and deleted all the network adapters. These are virtual and not needed. I then clicked Add Other Device > PCI Device three times and selected all three of the new passthrough NICs.
I also had to go up to my RAM settings and check the box "Reserve all guest memory (All locked)" in order for it to work.
Once I booted the VM back up I had to change my WAN and LAN assignments. Previously they were using em0, em1, em2 virtual adapters. Now they are labelled igb0, igb1, igb2. Once that was done, I then had to edit the pfatt.sh file and change ONT_IF from em0 to igb0 and RG_IF from em1 to igb1, saved the file and then rebooted the VM.
Once rebooted you must then assign the network interface of WAN to ngeth0. The instructions state that you must enter your RG MAC in the GUI field pictured below but I found after hours of frustration that this caused an issue. The issue is the pfatt.sh script already sets the MAC of the ngeth0 virtual NIC and entering it in the GUI in this box also sets the MAC to igb0 and it was messing up the flow. Deleting it from the GUI (because I mistakenly had it in there) and rebooting fixed everything. I was able to pull a public IP and everything works now.
This is the log file and it looks fine. Tried rebooting ONT and RG. RG service light blinks green for a while then goes to solid red then finally goes out. Not sure what I am missing. I feel I followed steps properly.
My 3 interfaces are as follows: em0: ONT em1: RG em2: LAN
tcpdump -ei ngeth0
tcpdump -ei em1
tcpdump -ei em0
This one displays my WAN IP (from when I just used gateway so I know) a few times. 162.206.XXX.XHere is the output of a few of the troubleshooting commands:
Here is my diagram from the map command.
If anyone could offer assistance I would appreciate it. I am not seeing the issue. I even tried swapping the cables for em0 and em1 just in case I chose the wrong one in the config file, still nothing.