On 07.02.2015 07:43, spiky wrote:
I dont think you will be able to get 2 ip addresses off 1 device, Why
not get a 2nd device i.e wireless

Yes, you do, we had to do this often for SSL Webservers where you had to have one ip for every virtual host. It's absolutely no problem to run multiple IP's on one interface.



On 02/07/15 04:13, Tim Tassonis wrote:
Hi all

I would like to create an alias interface in the form of eth0:0 to set
a a second ip address on the interface. I tried the (obvious):

cat > /etc/sysconfig/ifconfig.eth0:0  << EOF
ONBOOT="yes"
IFACE="eth0:0"
SERVICE="ipv4-static"
IP="192.168.219.221"
GATEWAY="192.168.219.1"
PREFIX="24"
EOF

and then ifup eth0:0, but then got the error:

     Bringing up the eth0:0 interface...
  *  Adding IPv4 address 192.168.219.221 to the eth0:0 interface... [
OK  ]

*****face eth0:0 doesn't exist. [ FAIL ]


Is there a way to do it with the networkbootscripts in lfs 7.6, or do
I have to do something manually elsewhere?


Kind regards
Tim


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to