-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtual IP Adresses (by PPPoE) #2060
Comments
for reference #1415 contains the same issue. |
@mohnewald can you try 736cf38 ? |
(cherry picked from commit 736cf38)
Code is in place, feedback welcome. Closing this for accounting reasons. |
This reverts commit 736cf38 to wait for more test feedback. Not strictly needed for 18.1. PR: #2060 Discussed with: @jschellevis
Ended up in a debate and was reverted, but seemed fine so we'll finally push this in 18.1.5: #2112 |
(cherry picked from commit 736cf38)
Hi guys, I use current OpnSense (18.7.6 (installed) | 2018-10-25) release and wanted to setup Virtual IP (IP Alias) so that I can either do port-forwarding (preferred) or even (1:1 nat). I tried various Virtual IP, like Alias, Proxy arp, Carp, Other. It seems that I got luck sometime with internet ping coming to these IP ok, while outgoing traffic sometimes work, sometimes not, for either ICMP and http. So, basic setup is like this,
Nov 5 09:37:04 | opnsense: /firewall_virtual_ip.php: The command '/sbin/ifconfig 'pppoe0' inet 'x.x.x.x'/'32' alias ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Destination address required' ) These two are in the logs, while I tested traffic. I am not sure whether this is the root cause.
I even tried with Port forward + 1:1 NAT (without manual Outbound rule). The results of various of these test, are sometimes incoming traffic fine, outgoing is sporadic. Any ideas of best steps of making this work? Thanks in advance. Peng |
no worries,.....called TekSavvy and they found it out this subnet was assigned to another person as well, which caused packet being missed.. they gave me a new subnet and with only port-forward, no 1:1 nat, things work well now. thanks |
With a PPPoE Dialup i get a sinle IP Address: xxx.xxx.130.131
My PPPoE Gateay IP is xx.xxx.149.21 (pushed by pppoe)
My ISP also routes xxx.xxx.154.64/29 to me.
If i try to set up a VIP in the GUI i get the error:
/sbin/ifconfig pppoe1 inet xxx.xxx.154.67/29 alias
ifconfig: ioctl (SIOCAIFADDR): Destination address required
I think it should be:
/sbin/ifconfig pppoe1 inet xxx.xxx.154.67/29 alias ppoe-isp-gw-ip
=> Because that works and makes my vip available to the world.
my goal is this:
Crontab script:
The text was updated successfully, but these errors were encountered: