How to configure nethserver with 2 cards and ERPXE?

NethServer Version: 7
Module: your_module

Hello,

I did install erpxe on my centOs and nethserver 7, and I have 2 cards, just like this topic : http://community.nethserver.org/uploads/db8506/_optimized/626/38d/0fc97f8b74_541x500.png
Here is my configuration :slight_smile:
ifconfig
enp5s10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::250:fcff:fe46:16c9 prefixlen 64 scopeid 0x20
ether 00:50:fc:46:16:c9 txqueuelen 1000 (Ethernet)
RX packets 128 bytes 43776 (42.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 312 bytes 32082 (31.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp63s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.31 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::219:bbff:fedf:413a prefixlen 64 scopeid 0x20
inet6 2a01:e34:ee2a:2750:219:bbff:fedf:413a prefixlen 64 scopeid 0x0
ether 00:19:bb:df:41:3a txqueuelen 1000 (Ethernet)
RX packets 106 bytes 13272 (12.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 108 bytes 42110 (41.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17

So I put enp5s10 on green, and enp63s0 on red because the adress is given by the internet box.
When I read the documentation (http://docs.nethserver.org/en/latest/dhcp.html) I do not exactly understand what range of IP (or static IP) I must put on enp5s10, which must be the DHCP server for ERPXE…

Can you help me ?

Thanks !

Hi, I think you are reading the documentation for version 6.8 (a bit confusing, as latest refers to the latest stable version). Although some things remain the same other have changed, so better to go with Nethserver 7 RC docs. The inline help on the server-manager interface is always handy.

For the GREEN interface you can set any unused IP range.
As your RED interface is using 192.168.1.x, use a different range for GREEN (for instance 192.168.0.x or 10.0.2.x or any other.)

Then on Configuration > DHCP > DHCP Server tab you can enable the DHCP server and set the range for your network (eg. if green has a static IP of 192.168.0.1, DHCP can have 192.168.0.101-192.168.0.150) You can set the whole network range or leave some IPs outside the DHCP (for other servers, printers and alike.)

1 Like

@Thierry did you resolve thanks to @dnutan’s suggestion?

Hi @Thierry are you sure you have put erpxe file in /var/lib/tftpboot/