Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
6
Newest
 Editor
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Jan
11
accepted How to add virtual NICs to my linux PC, so that they expose their MACs to ISP's domain?
Jan
11
comment How to add virtual NICs to my linux PC, so that they expose their MACs to ISP's domain?
It's really strange. I have forgotten to tell you, I do nearly all of my experiments in VirtualBox. Once I gave the guest Ubuntu a bridged adapter, and then dhclient -v mac$NNS failed, and I tried to give the guest a NAT, and then dhclient -v mac$NNS success. With the NAT mode, I can also ping -c1 superuser.com, but can not still ping the NIC of guest os's default namespace. It's really strange, it can ping the outside world but not the NIC linked to it. I tried your answer with my real PC, it works fine. Maybe there's something wrong with shared adapter mode. Thank you.
Jan
11
comment How to add virtual NICs to my linux PC, so that they expose their MACs to ISP's domain?
I tried your answer, but I'm sorry to tell you it doesn't work. In fact, I tried arp -s in $NNS and it gives 192.168.42.129 (incomplete). The IP is my gateway. I tried in the default namespace it gives the right MAC.
Jan
11
awarded  Editor
Jan
11
revised How to add virtual NICs to my linux PC, so that they expose their MACs to ISP's domain?
added 62 characters in body
Jan
11
comment How to bridge enp0s3 with a peer of veth?
Please help me out. superuser.com/questions/1024723/…
Jan
11
asked How to add virtual NICs to my linux PC, so that they expose their MACs to ISP's domain?
Jan
11
comment How to bridge enp0s3 with a peer of veth?
Yes, I'm writing.
Jan
11
comment How to bridge enp0s3 with a peer of veth?
We fellow students have to use a client to gain access to the Internet. The client has many restrictions. It needs your account to login and you have to expose your NIC's MAC to the ISP's gateway and then get an IP. Each account has a limit on bandwidth. I want to make a server which has many accounts logging, so we can share our bandwidth. The key step is to run several clients in their corresponding network namespaces, so I have to expose a link layer address for each namespace. You said using veth is not possible, so maybe macvlan could help.
Jan
11
comment How to bridge enp0s3 with a peer of veth?
Maybe, I haven't express my needs clearly. I have to expose an NIC in a namespace to my ISP's gateway.
Jan
11
accepted How to bridge enp0s3 with a peer of veth?
Jan
11
comment How to bridge enp0s3 with a peer of veth?
I don't know much about ip tuntap, but could you tell how I can access the Internet throw veth-b$NNS and the veth-b$NNS's MAC have to be visible to my ISP.
Jan
11
comment How to bridge enp0s3 with a peer of veth?
Thank you for wonderful reply. It works and you teached me useful tips.
Jan
11
asked How to bridge enp0s3 with a peer of veth?
Aug
10
awarded  Popular Question
Aug
9
awarded  Tumbleweed
Aug
2
asked How to automatically disable unrelated packages of atom?
May
31
awarded  Scholar
May
31
awarded  Supporter
May
31
accepted Could disk encrypted with cryptsetup on Linux be read on Windows?