Score:0

vconfig rem disturbs adding VLAN IP to UBUNTU

lb flag

after removing a VLAN IP by using "vconfig rem ...", adding a VLAN IP and related sub-VLAN IPs is not working correctly. in other words, intended VLAN is added but after a while it is not shown in ifconfig command and it does not exist. this situation occurs when I have an interface with the IPs of type VLAN or sub-VLAN only. Does any one know that why this problem occurs?

thanks.

A.B avatar
cl flag
A.B
You should use modern Linux tools. This is handled with [`ip link ... type vlan ...`](https://manpages.ubuntu.com/manpages/focal/en/man8/ip-link.8.html) + `ip address`. Why? Because less and less persons will even know about `vconfig` anymore. This comment doesn't give an answer about your problem, but I'm suggesting you try again using newer tools. (also: there's no vlan IP, there's a VLAN (sub) *interface*, which possibly got an IP address assigned on it).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.