Switched Ports
From DD-WRT Wiki
(Difference between revisions)
Revision as of 14:05, 5 December 2005 (edit) Rammstein (Talk | contribs) (How to make ports not to use the NAT addressing.) ← Previous diff |
Revision as of 14:12, 5 December 2005 (edit) (undo) Rammstein (Talk | contribs) m Next diff → |
||
Line 1: | Line 1: | ||
- | With an older router, you can make for instance ports 3 and 4 to reside outside the router's NAT. Devices attached to these ports will request an own IP address from the ISP. | + | With an older router, you can make for instance ports 3 and 4 to reside outside the router's NAT. Devices attached to these ports will request an own IP address from the ISP instead of getting a private IP address from your WRT. One might want to have such behaviour if you're having unsorted firewall issues with your SIP operator. |
nvram set vlan0ports="1 2 5*" | nvram set vlan0ports="1 2 5*" | ||
Line 6: | Line 6: | ||
reboot | reboot | ||
- | + | According to user reports, this is confirmed to work at least with a WRT54GSv1.1. If you want to recover the default settings, write the following within ssh session: | |
nvram set vlan0ports="1 2 3 4 5*" | nvram set vlan0ports="1 2 3 4 5*" |
Revision as of 14:12, 5 December 2005
With an older router, you can make for instance ports 3 and 4 to reside outside the router's NAT. Devices attached to these ports will request an own IP address from the ISP instead of getting a private IP address from your WRT. One might want to have such behaviour if you're having unsorted firewall issues with your SIP operator.
nvram set vlan0ports="1 2 5*" nvram set vlan1ports="0 3 4 5" nvram commit reboot
According to user reports, this is confirmed to work at least with a WRT54GSv1.1. If you want to recover the default settings, write the following within ssh session:
nvram set vlan0ports="1 2 3 4 5*" nvram set vlan1ports="0 5" nvram commit reboot