Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to configure the virtual ip by using systemd ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pengvv
n00b
n00b


Joined: 25 Aug 2014
Posts: 1

PostPosted: Mon Aug 25, 2014 6:09 am    Post subject: How to configure the virtual ip by using systemd ? Reply with quote

Hi guys !

I installed the gentoo with the systemd.

Now I need to configure the virtual ip on lo-loopback interface, for example, in dynamic way:

Code:

ifconfig lo:0 192.168.122.1 netmask 255.255.255.0
ifconfig lo:1 192.168.123.1 netmask 255.255.255.0


but in fact, I need configure these vip in static method, I've read the systemd-docs in http://www.freedesktop.org/software/systemd/man .
so I know the relative configure files are *.network, *.netdev, *.netlink which should located at /etc/systemd/network.

but this mannual do not tell me how to configure the virtual ip by these files, could anyone solve this problem ? Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum