[Fedora] Setting IP Aliases via SSH

Geffy

OSNN Veteran Addict
#1
OK, heres the thing I have to setup a Fedora server to have another 4 ip addresses. I have managed to change it from one ip range to another by modifying /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0

now how do I add ip address aliases. I have googled about and havent found anything shockingly helpful

am I correct in thinking that it should be something along the line of
/etc/sysconfig/network-scripts/ifcfg-eth0:0
/etc/sysconfig/network-scripts/ifcfg-eth0:1

and so on

or maybe
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
and then define the range within that??

have I got this right?
 

Geffy

OSNN Veteran Addict
#4
X-Istence said:
THose scripts just get executed on bootup, so it does not matter what you call em.

Call em damnwhydidiinstallfedoraandnotBSD :p J/K
it matter what I call them, they are text files of a specific format :p
the rest of what is in there could be named whatever though, but those files had to be named specifically

I just wish linux didnt put stuff in stupid places
/etc/rc.conf makes so much more sense
 

chrisbyrd

OSNN Junior Addict
#6
X-Istence said:
Call em damnwhydidiinstallfedoraandnotBSD :p J/K
in geffy's defence, i was poking him with a large pointy stick to do this... it was obviously not his prefered choice of OS :D

geffy - i think you're converting me to the BSD following :)
 

X-Istence

*
Political User
#7
Good good. The more members the merrier. Now pleas be aware, the BSD group does not allow such things as:

1337, or hax0r in the group :p (Sorry, stereo type, which mostly seems true).
 

Geffy

OSNN Veteran Addict
#8
chrisbyrd said:
in geffy's defence, i was poking him with a large pointy stick to do this... it was obviously not his prefered choice of OS :D

geffy - i think you're converting me to the BSD following :)
pointed stick with some sentient pot noodle at the end of it, that was the scary part :p


muhahaha, the BSD following increases :D
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,970
Messages
673,297
Members
89,017
Latest member
Poseeut