Re: multiple ip's?

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

 



On Tuesday 18 May 2004 01:59, Michael wrote:
>I'm running Core 1 on one of my servers and I need to run multiple
> IP addresses on the same interface. Is there a standard way to do
> that in Fedora?

I don't know as there would be anything special about "fedora".  The 
usual way is to cobble up a fresh script 
in /etc/sysconfig/network-scripts for the second address, and use not 
eth0 but eth0:n(where n=1, 2, 3, etc) in that particular ifcfg-eth(n) 
script.  Then bring it up, or do a 'service network restart'.  There 
is a section in the manpage for ifconfig? on how to do that IIRC.

One could run an instance of iptables to connect two different subnets 
that way, but I'd think it wouldn't take a hacker long to figure out 
a way around that.  OTOH, I sometimes ran my office machine that way, 
using the eth0:1 as a path into the local net when I actually had an 
outside, dns registered address.  I also ran portsentry for a guard 
dog/notifier and while hosts.deny looked like the LA phone book, 
nobody ever actually got in that I didn't give an account to.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux