pfSense kurulumunda gateway farklı subnet – kurulum ekranında kaldı

Katılım
17 Mart 2025
Mesajlar
66
Beğeniler
37

Konu Başlıkları Gizle

  1. 1 Sorularım:
Merhaba arkadaşlar,

pfSense kurarken kurulum ekranında kaldım, bir türlü geçemiyorum.
Hosting firmam bana şu bilgileri verdi:
  • IP bloku: 15.242.38.0/24
  • Kullanacağım IP: 15.242.38.2
  • Gateway: 15.243.38.1
Kurulum sırasında WAN IP'yi ve Gateway'i giriyorum ama gateway, IP bloğumun dışında olduğu için pfSense hata veriyor:

“The gateway address does not lie within the chosen interface's subnet.”

Sanırım bana verilen IP bloku yönlendirilmiş bir blok ama kurulum ekranında bunu nasıl geçeceğimi bilemedim. /32 ile denedim, yine geçemedim. Shell'e geçemedim çünkü kurulum tamamlanmadı.

Sorularım:​

  1. Kurulum ekranında bu durumu nasıl aşabilirim?
  2. Shell'e geçip route eklemek mi gerekir, yoksa kurulumdan sonra mı yapılmalı?
  3. Bu durumda IP bloğunun nasıl tanımlanması gerekiyor?
Yardımcı olursanız çok sevinirim.
Teşekkürler.

IP ve Gateway Örnek'tir

@Hasan Merkit hocam
 
Son düzenleme:
Eğer cihaza fiziksel erişiminiz var ise konsol(ekran) üstünden bu şekilde bir ayarlamayı deneyebilir misiniz? Seçtiğim seçenekleri okuyabilirsiniz:

Kod:
*** Welcome to pfSense 2.8.0-RELEASE (amd64) on TestFirewall ***

 WAN (wan) -> vmx0 -> v4: 192.168.1.10/24
 LAN (lan) -> vmx1 -> v4: 10.1.1.1/24

 0) Logout / Disconnect SSH            9) pfTop
 1) Assign Interfaces                 10) Filter Logs
 2) Set interface(s) IP address       11) Restart GUI
 3) Reset admin account and password  12) PHP shell + pfSense tools
 4) Reset to factory defaults         13) Update from console
 5) Reboot system                     14) Disable Secure Shell (sshd)
 6) Halt system                       15) Restore recent configuration
 7) Ping host                         16) Restart PHP-FPM
 8) Shell

Enter an option: 2

Available interfaces:

1 - WAN (vmx0 - static)
2 - LAN (vmx1 - static)

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:
> 15.242.38.2

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 32):
> 24

For a WAN, enter the new WAN IPv4 upstream gateway address.
For a LAN, press <ENTER> for none:
> 15.243.38.1

Should this gateway be set as the default gateway? (y/n) y

Configure IPv6 address WAN interface via DHCP6? (y/n) n

Enter the new WAN IPv6 address.  Press <ENTER> for none:
>

Do you want to enable the DHCP server on WAN? (y/n) n
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 15.243.38.2/24

Press <ENTER> to continue.

*** Welcome to pfSense 2.8.0-RELEASE (amd64) on TestFirewall ***

 WAN (wan) -> vmx0 -> v4: 15.242.38.2/24
 LAN (lan) -> vmx1 -> v4: 10.1.1.1/24

 0) Logout / Disconnect SSH            9) pfTop
 1) Assign Interfaces                 10) Filter Logs
 2) Set interface(s) IP address       11) Restart GUI
 3) Reset admin account and password  12) PHP shell + pfSense tools
 4) Reset to factory defaults         13) Update from console
 5) Reboot system                     14) Disable Secure Shell (sshd)
 6) Halt system                       15) Restore recent configuration
 7) Ping host                         16) Restart PHP-FPM
 8) Shell
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…