#
#
#2020-01-06 05:12:51
Computer networks
#, 2020-01-06 05:12:51

Man is looking for how to create a virtual router from Linux. I immediately clarify what the trick is - the Internet is actually served via PPPoE. hellp mi plz?

linux experience...
не нулевой, но так сложилось, что в основном по тюнингу рабочих столов. в данной теме можно считать практически нулевым.
по сетям вообще - много лет виндововой практики. изначально сискодер, потом сисадмин, по уходу из большого временами эникей, ну и так сказать консалтинг в сети

the task is to route the ppoeo of the host system to host-only vbox or vmvare, which has long been doubtful. they do not work sanely with these networks if they do not raise their dhcp to them. that's just the DNS parameters and the router, both do not have.
as a result - to file a virtual router with minimal functionality.
accompanying circumstances:
- the provider assures that already on the switch in the house everything is chopped into weeds. type, you can bridge to the same interface (and this, by the way, works, but only on ipv4)
- there is an old asus, on native firmware it holds about 90% of the download speed of the tariff and 80% of the expected upload
- native pppoe win10 immediately grabs ipv6 and keeps at least for days . usually at least 100% of the download speed of the tariff and often significantly higher than the expected upload
- *buntu 50/50% catching ipv6. on average, after a couple of hours they lose. in terms of speed, they seem to be inferior to Windows, but not significantly.
- lately, we have been bridged not on the port where the provider comes, but on a discrete network card. an old asus is plugged into it (dhcp is extinguished there so that there is no confusion), otherwise the interface would be inoperative.
- Virtually tested dd-wrt-x86. has an ipv6 settings tab, but essentially, there is only a "allow" checkbox and fields for entering alternative DNS. in about two weeks, only once it was noticed that this creation managed to issue ipv6 to the host. and even all the tests passed
all the mana of creating a router, which Google gives out in tons, do not take into account the situation of filing pppoe. but I don't know how to solve it. otherwise I wouldn't have asked.
for the role of a virtual adapter, ideally, debian is desirable. big bag of small reasons. but sufficient to put aside ubuntu server lts and centos of all versions absolutely. although, in principle, the freshest ubuntu server, fedora serevr or open suse server - I probably don’t care here .. it would be man, from start to victory))
.. however, debian seems to be the most modest consumer of resources. all the same, this is not a separate device, but a whole virtual machine. the rest is not very important
disclaimer. basic
осведомлен что, простейшее решение вопроса - покупка современного роутера, с подбором под хотелки. увы. не сейчас точно

disclaimer+, for some ))
умудрился тут не то что вызвать раздражение у некоторых, но с кем то и поболее. и с некоторорым дойти до личных отношений. так вот, желающие отмщения - хоть джигу на столе танцуйте (с), самолюбие уже некоторое время на полке, за ненадобностью. но если кто слишком увлечется, какие кнопки нажимать - знаю ;)) .. какими кнопками благодарить - тоже в курсе ))

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
chupasaurus, 2020-01-07
@mindtester

I would play around with OpenWRT (I've already overtaken my dad in development a long time ago) in a virtual machine, in terms of resource consumption, it will definitely light up Debian + a ready-made web muzzle in the kit.
In fact, you need to raise 2 interfaces for the virtual machine: a bridge for PPPoE and a local one so that the host starts stomping through the router (you can put the device on the settings from the hypervisor and configure statics on the host and guest, although in Var the internal network without DHCP is done elementarily).
Link to the latest release, in general - X86 / 64 branch, generic-combined-squashfs image.
In Linux, bridges are free in the kernel.
Manuals , under VMware it's probably rotten.

X
xmoonlight, 2020-01-06
@xmoonlight

pfsense

R
Ruslan Fedoseev, 2020-01-06
@martin74ua

buy a normal router. Asus or Mikrotik...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question