PFSense 2) Set interface(s) IP address

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Available interfaces:

1 - WAN (vtnet0 - dhcp, dhcp6)
2 - LAN (vtnet1 - static)
3 - OPT1 (vtnet2)
  • Enter the number of the interface you wish to configure: 1
  • Configure IPv4 address WAN interface via DHCP? (y/n) n
  • Enter the new WAN IPv4 address. Press <ENTER> for none:
> 194.59.156.201
Subnet masks are entered as bit counts (as in CIDR notation) in pfSense.
e.g. 255.255.255.0 = 24
     255.255.0.0   = 16
     255.0.0.0     = 8
  • Enter the new WAN IPv4 subnet bit count (1 to 31):
> 27
  • For a WAN, enter the new WAN IPv4 upstream gateway address.
  • For a LAN, press <ENTER> for none:
> 194.59.156.193
  • Configure IPv6 address WAN interface via DHCP6? (y/n) n
  • Enter the new WAN IPv6 address. Press <ENTER> for none:
> 
Disabling IPv4 DHCPD...
Disabling IPv6 DHCPD...
  • Do you want to revert to HTTP as the webConfigurator protocol? (y/n) y
Please wait while the changes are saved to WAN...
 Reloading filter...
 Reloading routing configuration...
 DHCPD...
 Restarting webConfigurator... 

The IPv4 WAN address has been set to 194.59.156.201/27