Link to home
Start Free TrialLog in
Avatar of marvelsoft
marvelsoftFlag for Philippines

asked on

Multiple Public IP for Gateway, EMail, And Others

Experts,

I am a small linux administrator. In my dsl account I've provided 5 public IP addresses and I want them to assigned into diffirent services such as gateway, email server, ftp and others. In my gateway I've installed 2 LAN Cards with MASQ NAT/FIREWALL. The eth0 as internal LAN (192.168.0.1) and eth1 is my 1st public ip where the dsl cable is connected. With this setup it works fine as simple as it was.

I want to assigned the 4 remaining public ip address in diffirent servers. Just to cater my ftp, email and other services to access them remotely. Is my idea or setup possible? What is the configurations to do just to access every services/servers remotely?


Thanks in advance :)

MRV


Avatar of Kelly Black
Kelly Black
Flag of United States of America image

You can always alias the IP's to the different ethernet cards with 'ifconfig' for example

ifconfig eth0:1 192.168.1.2 255.255.255.0 would alias the second IP as a new interface served off of eth0.

Let me know if you need more...
Avatar of marvelsoft

ASKER

Where do I execute this command, is this on the my gateway or another server?
ASKER CERTIFIED SOLUTION
Avatar of Kelly Black
Kelly Black
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial