Hi
>>+sub enable_proxyarp {
>>+ my ($ifname) = @_;
>>+
>>+ PVE::Tools::run_command("echo 1 >
>>/proc/sys/net/ipv4/conf/$ifname/proxy_arp");
>>+}
>>+
>>+PVE::Tools::run_command("ifconfig $iface up");
>>+enable_proxyarp($iface);
Do we really need proxyarp ? I mean, arp request shouldn't go to external vmbr0
unless eth0 is plugged on same bridge than vm nic
>>+my $external_iface = 'vmbr0'; # fixme: autotetect?
I think we can simply detect the vmbrX with the defaut gw ?
>>+enable_proxyarp($iface);
>>+
>>+PVE::Tools::run_command("route add -net $net->{ip} netmask 255.255.255.255
>>dev $iface");
So, if I understand you don't use bridge ? but directly route from host to tap
interface ?
If yes,how do you setup guest configuration ?
----- Mail original -----
De: "Dietmar Maurer" <[email protected]>
À: "Dietmar Maurer" <[email protected]>, [email protected]
Cc: [email protected]
Envoyé: Lundi 26 Août 2013 13:47:40
Objet: RE: [PATCH] add routed network mode
The last patch is just some experimental code.
That is what I had in mind how a routed setup should work.
I just created and tested a single VM here, and that works so far.
What do you think? Is that nonsense, or usable?
Any comments?
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel