How do you configure this change?

When using GAiA, it might be necessary to temporarily change the MAC address of the interface
eth 0 to 00:0C:29:12:34:56. After restarting the network the old MAC address should be active.
How do you configure this change?

As expert user, issue these commands:

When using GAiA, it might be necessary to temporarily change the MAC address of the interface
eth 0 to 00:0C:29:12:34:56. After restarting the network the old MAC address should be active.
How do you configure this change?

As expert user, issue these commands:

A.
Edit the file /etc/sysconfig/netconf.C and put the new MAC address in the field
B. As expert user, issue the command:

C.
# IP link set eth0 addr 00:0C:29:12:34:56

D.
Open the WebUI, select Network > Connections > eth0. Place the new MAC address in the
field Physical Address, and press Apply to save the settings.



Leave a Reply 19

Your email address will not be published. Required fields are marked *


Vlad

Vlad

Picture it yourself. As no mention of standalone GW or any other specs…
A: netconf.C doesn’t exists on Gaia-standalone
B: as expert.. no command. If that command is in answer C then in expert mode you are using linux commands and IP simply doesn’t exists or not installed by default.
C?
D: This one is actually closest. https to GW> under Network Management select your desired interface and click “Edit” and “Ethernet” tab is where you can change MAC but I don’t have time to test it if it changes back to original one after reboot. I believe that to perform such a thing would be a script and don’t know how to do so.

Good luck with this one

Vlad

Vlad

correction: they didn’t mentioned version as new Gaia doesn’t use /etc/sysconfig/netconf.C
instead it uses /config/db/initial where you can find a lot more info.

Read about this and found out deleting /etc/sysconfig/netconf.C will be recreated after reboot with correct info so I guess changing MAC address of interface and deleting this file will put everything back to normal after reboot and .. mission accomplished

Jake

Jake

Answer is C:

Esteban

Esteban

As expert user, issue these commands:
# IP link set eth0 down
# IP link set eth0 addr 00:0C:29:12:34:56
# IP link set eth0 up

Chirag

Chirag

Esteban,

I am using R77.30 mgmt server and gateway in a distributed environment. There is no command that start with IP link… Am I missing something?

srini

srini

Got this question in today exam.Answer D(tested in VM).

Explanation:

Option A &C commands are CLISH commands not expert mode commands
There is no netconf.c in GAIA.

Ben

Ben

Hmm, I have a GAiA R77.30 Standalone installation, and there is a netconf.C

cat /etc/sysconfig/netconf.C
(conf
: (conns)
: (routes)
)

Just saying.

Diabolico

Diabolico

I tested in VM, after reboot the MAC don’t back to old MAC address.

Flippy

Flippy

IP is the iproute2 suite, replacing the old ifconfig which is not so good really.

C is correct, “EXPERT MODE” read the question again srini, you failed.

Chirag

Chirag

Flippy,

I am using R77.30 mgmt server and gateway in a distributed environment. There is no command that start with IP linkā€¦ Am I missing something?

Anders

Anders

Just tested in a lab. The “ip link” command will not survive a reboot. The WebUI configuration will. The question is which of these will not survive a reboot? The “ip link” command is the answer (not sure if it’s B or C the way this question is posted).

Chirag

Chirag

Anders, you are right in that sense, but I cannot find a command on R77.30 GAiA. I checked CLISH as well as Expert Mode. I am using distributed setup.

Chp

Chp

Answer D ( Tested on R77.30)
It is possible via the GUI:
Network Management -> Network Interfaces -> Select eth0 and click Edit -> Go to Ethernet Tab and give the MAC @ that you want to use.

Chirag

Chirag

Chp is right. I tested it too in VM R77.30 GAiA distributed. Changing the MAC from Web GUI survives reboot. The correct answer is D.

Chirag

Chirag

But here is the catch. The change from Web GUI survives reboot, and the question wants an answer that does not survive a reboot. This makes D incorrect. Not sure what the correct answer is. Can anyone help?

Carlos

Carlos

C) is the answer. C) option the old MAC should be active. D) the new MAC will survive

Xx

Xx

I think the question was wronglyt asked. I don’t think it’s for Gaia OS but SPLAT or SecurePlatform, and the answer should be C

KK

KK

A) correct answer
#-sing means you are in expert mode ,inside this mode all this command works properly and after reboot all changes is revert back to old MAC

answer C is wrong because system wont give you permission to rewrite MAC until this interface is UP.

ice

ice

B. As expert user, issue the command:
# IP link set eth0 down
# IP link set eth0 addr 00:0C:29:12:34:56
# IP link set eth0 up

Correct answer B