[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: 2 IP addresses in RH9
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: 2 IP addresses in RH9
- Date: Fri, 31 Oct 2003 11:06:53 -0600
On Fri, Oct 31, 2003 at 08:53:03AM -0800, Shawn McPike wrote:
> 1) I just recently set up RH9.
> 2) I have an external router/firewall that handles
> one-to-one NAT on my external IP addresses (i.e.
> EXTERNALIP1 --> 192.168.254.10 and EXTERNALIP2 -->
> 192.168.254.11).
> 3) Both external IPs are registered domain names that
> I own (domainname.com)
> 4) OK - here's the question... both of the mentioned
> internal IPs need to point to my linux machine. I
> have 1 configured so far and here is the ifconfig for
> my single NIC:
>
> eth0 Link encap:Ethernet HWaddr 00:04:5A:64:62:51
>
> inet addr:192.168.254.10
> Bcast:192.168.254.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500
> Metric:1
> RX packets:13212 errors:0 dropped:0
> overruns:0 frame:0
> TX packets:10375 errors:0 dropped:0
> overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:12378958 (11.8 Mb) TX
> bytes:2735929 (2.6 Mb)
> Interrupt:11 Base address:0x4000
>
> 5) not sure if this helps, but here is my IP routing
> table.
>
> Destination Gateway Genmask Flags
> MSS Window irtt Iface
> 192.168.254.0 0.0.0.0 255.255.255.0 U
> 0 0 0 eth0
You don't need the following line:
> 169.254.0.0 0.0.0.0 255.255.0.0 U
> 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U
> 0 0 0 lo
> 0.0.0.0 192.168.254.254 0.0.0.0 UG
> 0 0 0 eth0
I presume 192.168.254.254 is the internal address of your
firewall/router.
> 6) So (A) how do I set up 192.168.254.11 on the same
> NIC??
You need to set up an alias:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-network-aliases.html
> 7) And (B) I get messages on FQDN's not being
> configured: i.e when I start Apache:
>
> Starting httpd: httpd: Could not determine the
> server's fully qualified domain name, using 127.0.0.1
> for ServerName
You should have an entry in /etc/hosts reflecting the external name
and the internal address, such as mine:
127.0.0.1 localhost.localdomain localhost
192.168.2.4 yak.bobcatos.com yak
> Thanks in advance!
> Shawn McPike
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure earthlink net http://www.bobcatos.com
Man's disappointments are sometimes God's appointments.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]