[PVE-User] Routed Setup possible?

"Alexander Täffner (dark alex)" darkalex at firesplash.de
Fri Oct 15 09:20:26 CEST 2010


  Well... ;-)

Since I am fiddeling around with it for hours now I recently found a 
better solution than NAT:

Bring up a virtual interface and set the host as gateway. ip_forward has 
to be enabled on host

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
#up ip addr add 10.10.10.10 dev eth0

iface eth0:1 inet static
     address 10.10.10.10
     netmask 255.255.255.255
     gateway 192.168.2.101 #The Host's IP


Its a bit of a strange setup but it works stable. - And for the client 
it looks pretty clean :)
Routenverfolgung zu s0.firesplash.de [46.4.4.3]  über maximal 30 Abschnitte:

   1     *        *        *     Zeitüberschreitung der Anforderung. 
(Timeout)
   2    44 ms    44 ms    44 ms  87.186.224.172
   3    48 ms    46 ms    45 ms  217.0.86.122
   4    49 ms    50 ms    55 ms  f-ee2-i.f.de.net.dtag.de [62.154.15.18]
   5    49 ms    48 ms    84 ms  dtag-gw.hetzner.de [193.159.226.2]
   6    53 ms    52 ms    52 ms  hos-bb1.juniper2.rz6.hetzner.de 
[213.239.240.239
]
   7    53 ms    55 ms    53 ms  hos-tr3.ex3k18.rz6.hetzner.de 
[213.239.252.10]
   8    54 ms    53 ms    52 ms  s0.firesplash.de 
[10.10.10.10]                                         #IP masqueraded by 
me to fit the above setup


Regards



Am 15.10.2010 09:01, schrieb "Alexander Täffner (dark alex)":
> Hi again,
>
> I have an addition... did not think of this point:
> I have no second IP in that subnet...
>
> So I guess I need to do a kind of NAT.
> How to resolve that? (never used NAT) any Ideas?
> Thats the way:
>
> Client sends packet to 10.10.10.10 -> Host has assigned 10.10.10.10 as 
> a second IP. vServer has an IP 172.10.10.5.
> The Host now should NAT 10.10.10.10 to 172.10.10.5 and when the server 
> answers it should NAT back to 10.10.10.10
>
> I'd be happy if you could provide me a kind of a mini-Howto!
> Thanks in advance!
>
> Regards
>
> Am 14.10.2010 16:29, schrieb "Alexander Täffner (dark alex)":
>>  Hi all,
>>
>> is there any clean way to setup a routing?
>> I have an IP Subnet but need the Hostmachine acting as Router for the
>> Packets not to get dropped by the Infrastructure.
>>
>> I attached a Visio-Draft of what I mean with some more details. 
>> (Needs a PDF Reader like Adobe Acrobat)
>>
>> Regards
>>
>> Mit freundlichen Grüßen,
>> Alexander Täffner
>>
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
> Mit freundlichen Grüßen,
> Alexander Täffner
>
> -- 
> ---------------------------------------------------
> Firesplash Entertainment
> Projektleitung
>
> Besuchen sie uns im Web:
> http://www.firesplash.de
> ---------------------------------------------------
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Mit freundlichen Grüßen,
Alexander Täffner

-- 
---------------------------------------------------
Firesplash Entertainment
Projektleitung

Besuchen sie uns im Web:
http://www.firesplash.de
---------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20101015/840fff59/attachment.htm>


More information about the pve-user mailing list