What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Create virtual interface listening on DHCP

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
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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