LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2004, 02:20 AM   #1
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
Setting up external IP - newbee sys. admin


Hi,
I'm a newbee sys. admin for a server( 2x2.8GHZ Xeon, 160GB SATA on a Gigabyte motherboard, running Fedora Core 2). The server and 10 windows systems are on a LAN. I'll state the problem as simply as possble.


LAN Settings of the server:
--------------------------------------------------
IP: 172.16.14.2
GateWay: 172.16.14.1
Subnet Mask: 255.255.255.0
Primary DNS: 192.168.36.200
---------------------------------------------------

Now, the main Sys Admin gave me the following settings for external access
-----------------------------------------------------
IP: 61.95.133.150
GateWay: 61.95.133.129
SubnetMask: 255.255.255.224
DNS: 61.95.134.7
------------------------------------------------------

How do I configure 2 IPs(one external+one internal) for a single ethernet card? Essentially, the server would host http://61.95.133.150 but for local users on the LAN, it should be http://172.16.14.2

How can I do this?

regards,
GVK
 
Old 06-09-2004, 02:43 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
you would require 2 cards for this support...
 
Old 06-09-2004, 04:12 AM   #3
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ppuru
you would require 2 cards for this support...
Can't it be done by configuring 2 IPs on single card, using ifconfig eth0:1 XXX.XX.XX.XXX
 
Old 06-09-2004, 04:19 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
depends on your network setup ... if you have the Public IP and Private IPs available to you on the same switch/hub ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sys Admin Scenarios logicalfuzz Linux - Certification 0 11-16-2005 10:49 PM
Sys/Net Admin Stuff ankursaxena Linux - Newbie 1 03-15-2005 05:38 PM
Looking for a Linux Sys Admin ftbaccounts Linux - Certification 1 02-08-2005 12:11 PM
quirky OS or irresponsible sys admin? edsmithers Linux - Newbie 1 11-24-2003 03:47 PM
Linux Sys Admin smurphy Linux - General 2 07-31-2001 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration