Create virtual interface listening on DHCP

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Teymur

Regular Contributor
Hi there experts.

How do I create a virtual ethernet interface on a port and make it listen to DHCP, so that when I connect that port to a router that interface gets an IP from the DHCP server of the connected device.

So like say:

Dedicating port 2 of the router for vlan9

Code:
robocfg vlan 1 ports "1 2 4 5t"
robocfg vlan 9 ports "3 5t"
Adding virtual interface

Code:
vconfig add eth0 9
Configuring the interface

Code:
ifconfig vlan9 0.0.0.0 up
WHat do I do next?

Regards

Teymur
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top