Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Specifying a static I.P. address for a Fedora 8 box - having issues

From: Kevin Kempter <kevin(at)kevinkempterllc.com>
Date: Thu Jan 31 2008 - 14:09:56 EST


Hi List;

I've installed Fedora 8 on 2 of my home servers. I want to specify an I.P. address so I did this.

Running KDE, went to K-Menu --> Administration --> Network

entered the root passwd

In the Network Config tool I clicked on edit and I see that the "Automatically obtain IP address via dhcp" is checked.

If I run an ifconfig I get this:
$ /sbin/ifconfig

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D7:71:44
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fed7:7144/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1250431 errors:0 dropped:0 overruns:0 frame:0
          TX packets:726057 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1762907258 (1.6 GiB)  TX bytes:49097625 (46.8 MiB)
          Interrupt:18 Base address:0xa000

I have a firewall which has the IP 192.168.1.1 and it's setup as my dhcp server. If I log into the firewall and see the LAN settings I see this:

Name:

Device Name:	ixp1
Status:	Connected
Network:	LAN
Connection Type:	Ethernet
MAC Address:	00:c0:49:f4:32:b6
IP Address:	192.168.1.1
Subnet Mask:	255.255.255.0
IP Address Distribution:	DHCP Server
Received Packets:	4873480
Sent Packets:	6792793
Do you need help?X

So, I did the following:

  1. clicked the Statically set IP address button and entered the following:
    -- Address: 192.168.1.71
    • Subnet Mask: 255.255.255.0
    • Default Gateway: 192.168.1.1
  2. Exit the network config tool and save my changes
  3. restart the network: /etc/init.d/network restart

Now if I run ifup, then look at the output of ifconfig I see this: # ifconfig

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D7:71:44
          inet addr:192.168.1.71  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fed7:7144/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1562719 errors:0 dropped:0 overruns:0 frame:0
          TX packets:916632 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2178981981 (2.0 GiB)  TX bytes:62483658 (59.5 MiB)
          Interrupt:18 Base address:0xa000

At this point I can ssh/scp to/from the server via 192.168.1.71 however I cannot get anywhere on the web. If I try and ping google I get this:

# ping www.google.com
ping: unknown host www.google.com

Now if I change the settings back to automatically get an IP via dhcp, and restart the network then I can ping www.google.com and get a reply.

What am I doing wrong here?

Thanks in advance.

/Kevin

--|------------------------------------------------------------------------
--| Your Mouse has moved
--|  Vista has encountered an error :
--|    "Error rendering movement in vrmgraphshow.DLL" 
--|  Vista needs to restart.
--|

--| Press any key to reboot.
--|------------------------------------------------------------------------
Do you need more help?X

--

fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Received on Thu Jan 31 14:15:16 2008

This archive was generated by hypermail 2.1.8 : Sun May 25 2008 - 08:11:23 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library