Bij het lezen van dit forum kwam ik veel lovende berichten tegen. Maar mij lukt het al niet om het eerste script, configuratie van de Ethernet poorten (m.b.v. Putty) te installeren. (Tekst heb ik onder dit bericht geplaatst. Steeds als ik de opdracht geeft het uit te voeren (commit) dan krijg ik de melding: "cannot configure static Pv4 address and DHCP on the same interface.
Daarnaast wordt gemeld: DHCP server error: non of the DHCP lease subnets are nside any of the subnets configured on broadcast interfaces. At least one DHCP lease subnet must be set such that DHCP server listens on a minimum of one broadcast interface server configuration commit aborted due to error(s).
Hoop dat iemand hier een oplossing voor weet.
Tekst van Kriegsman.io
code:
configure
code:
set interfaces ethernet eth1 address 192.168.2.254/24
code:
set interfaces ethernet eth1 description "eth1 - LAN"
code:
set interfaces ethernet eth1 duplex auto
code:
set interfaces ethernet eth1 speed auto
code:
set service dhcp-server disabled false
code:
set service dhcp-server hostfile-update disable
code:
set service dhcp-server shared-network-name LAN authoritative enable
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 default-router 192.168.2.254
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 dns-server 8.8.8.8
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 dns-server 8.8.4.4
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 lease 86400
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 start 192.168.2.50
code:
set service dhcp-server shared-network-name LAN subnet 192.168.2.0/24 start 192.168.2.50 stop 192.168.2.200
code:
set service dns forwarding cache-size 150
code:
set service dns forwarding listen-on eth1
code:
set service dns forwarding name-server 8.8.8.8
code:
set service dns forwarding name-server 8.8.4.4
code:
set service dns forwarding options listen-address=192.168.2.254
code:
commit
code:
save
code:
exit