Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 40470  / 2 Years ago, sun, july 17, 2022, 12:50:31

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


More From » networking

 Answers
6

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?


[#33624] Sunday, July 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llael

Total Points: 209
Total Questions: 102
Total Answers: 118

Location: Rwanda
Member since Fri, May 5, 2023
1 Year ago
;