Marc's Blog

Things from me about me …

Using vif-route with multiple IPs for a Xen domU

| 0 comments

This article at ModernAdmin saved me alot of time. I was looking how to add multiple IPs to a Xen DomU in routed mode, this requires routes to be added on the Dom0. One way was to add multiple interfaces to the DomU, the other way is to add the addresses as aliases to an existing interface. You can then just add the addresses in the config file like this:

vif = [ 'ip=10.0.1.1 10.0.1.2 10.0.1.3' ]

vif-route will create all the necessary routes while you need only one virtual network interface.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close