dentproject / dentOS

dentOS SwitchDev based NOS
Other
200 stars 59 forks source link

Enable dhcp on ma1 #186

Closed taraschornyiplv closed 1 year ago

taraschornyiplv commented 1 year ago

Set default config to get IP on ma1 using dhcp resolves #185 Signed-off-by: Taras Chornyi taras.chornyi@plvision.eu

paulmenzel commented 1 year ago

Is it always going to be named ma1?

sonoble commented 1 year ago

It doesn't have to but it makes it specific and doesn't conflict with any other name like eth0 or en0, etc.

On Wed, Jan 11, 2023, 1:53 PM Paul Menzel @.***> wrote:

Is it always going to be named ma1?

— Reply to this email directly, view it on GitHub https://github.com/dentproject/dentOS/pull/186#issuecomment-1379533542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP5WH76C6KC2BMFIBML5YTWR4TU7ANCNFSM6AAAAAATYPMSDU . You are receiving this because your review was requested.Message ID: @.***>

mgheorghe commented 1 year ago

Is it always going to be named ma1?

currently eth0 gets renamed into ma1 during boot

on a dent device see this code: /usr/lib/python2.7/dist-packages/onl/network/MdevApp.py:47: sys.stdout.write("remapping interface %s --> %s\n"