systemd network configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Because it's summer, and I'd really rather not try to figure all this
out during the school year, I'm trying to figure out systemd *now*,
rather than waiting until rc.conf goes away.

I actually had trouble with rc.conf when I first installed Arch on my
Linode. Some daemons mysteriously wouldn't start and I couldn't figure
out how to get the networking to come up properly. (And, of course, I
was in a hurry.) So I wound up hacking rc.local to bring up both the
network and the daemons. (Yes, I know: ewwwww!)

This is the shell snippet I'm using to bring up my network now:

rc.d start network #successfully gets some address and a route
for i in 74.207.225.79/32 74.207.227.150/32 173.230.137.73/32
173.230.137.76/32
do
	ip addr add "${i}" dev eth0
done
ip -6 addr add 2600:3c02::f03c:91ff:fe96:64e2/64 dev eth0
for j in $(seq 0 1)
do
	for i in $(seq 0 9) a b c d e f
	do
		ip -6 addr add "2600:3c02::02:70${j}${i}/64" dev eth0
	done
done

Basically, with the IPv4 address, my intent is to make sure I've got
all four of those addresses up. But I wasn't getting a route unless I
used the network start script.

In my copy of the Arch wiki, I"m not seeing how to do something
similar under systemd. How, ideally, should I be doing this?

Thanks!
- -- 
David Benfell
benfell@xxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQD0GKAAoJELT202JKF+xpbMQP/3ADZesFp6+ZAzSItwDdvjJi
vUxCgyAXscCymTuTtjYov/lBxoh5/thu4KL2EbYA/F28r4rP0blBUR4Yrhj1jIDn
tZJcaoDBY5d7mT+hgI+9rIlGlFvnm+P/cCd8MAebkIiTAmLnurgSZe22Y6kV+VKe
nyQFJEWbyGk3O8d9ODtQnpKJ9AJrDY+fsGf/saZP+0KZDjjISHzl9VN81a4WngXP
JFeTLXhopSjWYPsECrrK0PE0Q5O524TL90ZuDvNM5BqVIgmQG9FkCzKaWLm2hCYX
gLLArdpnpAGse/yHyxBjqtHVtcm0lUD647Z8aJCHkObpQcaeAvwXSblaDcOVxo0L
3WX6qRam75kPABmDNRJPPYCqEPFiSDfdpL87m00v+zFRv+WTPr4X1NurOIomAp5x
QVjOlOvnpAbyexXfaWRzYvRpDuSrKbnuxzyDNKmGRPgiRvaWAjansoif4o0ojffh
Fw1sxLIWtggEgy0SGWJ/Ke7Z18IYJ7TF/1ZfRAknBIsdjCb8rFSA7byskjwrxWzT
rEZ9qzrtB/OKZCYsi+tlGhRiyUJ2j+8g5ujqeLvN1W7FQYd8SEmGyg5zCgYnuKBP
Sw/JnsMzvdW16BnqTMLIF5zrQJGzXV81UL101MSjwnXIuWNHAmhChx5I7yObhhYc
7fkFhIf0iSdBES8WX+Dh
=WY4X
-----END PGP SIGNATURE-----

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux