Adding a public and Private IP address in Fedora 10
I am using Fedora 10 i386 and would like to configure is such that can be seen on the internet (public ip address) and also my local network can see it as a node (private ip address).
I have only one NIC installed.
I create a ifcfg-eth0:0 file for this setup
Example
ifcfg-eth0 file (Public IP address)
Device=eth0
Bootproto=none
Gateway=76.x.x.x
HWaddr=xx:xx:xx:xx:xx:xx
IPaddr=76.x.x.x
Netmask=255.255.x.x
OnBoot=yes
ifcfg-eth0:0 (Private IP address)
Device=eth0:0
Bootproto=none
Gateway=172.16.0.1
HWaddr=xx:xx:xx:xx:xx:xx
IPaddr=172.16.1.6
Netmask=255.255.255.0
OnBoot=yes
This works fine until i have to reboot the computer. I can no longer view the computer from the internet or the intranet
When I view the view the connection information (ifconfig)
the inet address is showing the DHCP address of 172.16.1.33
Where/What am I doing wrong
|
Recent comments
5 hours 12 min ago
11 hours 53 min ago
15 hours 44 min ago
17 hours 22 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 12 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 20 hours ago