Celeb Glow
updates | March 30, 2026

How to configure eth1

I need to set up eth1 using these :

ip 10.5.15.200
netmast 255.255.255.128
mac address AA:6F:78:UI:34:34

and must be set up before eth1 starts and default gateway must be the first usable address from network

1

2 Answers

Open the file /etc/network/interfaces and add the following content:

auto eth1
iface eth1 inet static address 10.5.15.200 netmask 255.255.255.128 pre-up ifconfig eth1 hw ether AA:6F:78:UI:34:34

This sets the specific values. However at the moment it is unclear what you meant with your comment on the default gateway. Could you elaborate?

5

The gateway address can be any of the usable addresses within the 25 bit subnet here. It is usually the first, sometimes the last IPv4 address available.

auto eth1
iface eth1 inet static address 10.5.15.200 netmask 255.255.255.128 gateway 10.5.15.129 hwaddress ether AA:6F:78:UI:34:34

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy