<br><br><div class="gmail_quote">On Jan 31, 2008 2:09 PM, Kevin Kempter <<a href="mailto:kevin@kevinkempterllc.com">kevin@kevinkempterllc.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi List;<br><br>I've installed Fedora 8 on 2 of my home servers. I want to specify an I.P.<br>address so I did this.<br><br>Running KDE, went to K-Menu --> Administration --> Network<br><br>entered the root passwd<br>
<br>In the Network Config tool I clicked on edit and I see that the "Automatically<br>obtain IP address via dhcp" is checked.<br><br>If I run an ifconfig I get this:<br>$ /sbin/ifconfig<br>eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D7:71:44<br>
          inet addr:<a href="http://192.168.1.4" target="_blank">192.168.1.4</a>  Bcast:<a href="http://192.168.1.255" target="_blank">192.168.1.255</a>  Mask:<a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
          inet6 addr: fe80::2e0:4cff:fed7:7144/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:1250431 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:726057 errors:0 dropped:0 overruns:0 carrier:0<br>
          collisions:0 txqueuelen:1000<br>          RX bytes:1762907258 (1.6 GiB)  TX bytes:49097625 (46.8 MiB)<br>          Interrupt:18 Base address:0xa000<br><br>I have a firewall which has the IP <a href="http://192.168.1.1" target="_blank">192.168.1.1</a> and it's setup as my dhcp<br>
server. If I log into the firewall and see the LAN settings I see this:<br><br>Name:<br>Device Name:    ixp1<br>Status: Connected<br>Network:        LAN<br>Connection Type:        Ethernet<br>MAC Address:    00:c0:49:f4:32:b6<br>
IP Address:     <a href="http://192.168.1.1" target="_blank">192.168.1.1</a><br>Subnet Mask:    <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>IP Address Distribution:        DHCP Server<br>Received Packets:       4873480<br>
Sent Packets:   6792793<br><br><br>So, I did the following:<br><br>1) clicked the Statically set IP address button and entered the following:<br>-- Address:                 <a href="http://192.168.1.71" target="_blank">192.168.1.71</a><br>
-- Subnet Mask:         <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>-- Default Gateway:  <a href="http://192.168.1.1" target="_blank">192.168.1.1</a><br><br><br>2) Exit the network config tool and save my changes<br>
<br>3) restart the network:<br>/etc/init.d/network restart<br><br>Now if I run ifup, then look at the output of ifconfig I see this:<br># ifconfig<br>eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D7:71:44<br>          inet addr:<a href="http://192.168.1.71" target="_blank">192.168.1.71</a>  Bcast:<a href="http://192.168.1.255" target="_blank">192.168.1.255</a>  Mask:<a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
          inet6 addr: fe80::2e0:4cff:fed7:7144/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:1562719 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:916632 errors:0 dropped:0 overruns:0 carrier:0<br>
          collisions:0 txqueuelen:1000<br>          RX bytes:2178981981 (2.0 GiB)  TX bytes:62483658 (59.5 MiB)<br>          Interrupt:18 Base address:0xa000<br><br>At this point I can ssh/scp to/from the server via <a href="http://192.168.1.71" target="_blank">192.168.1.71</a> however I<br>
cannot get anywhere on the web. If I try and ping google I get this:<br><br># ping <a href="http://www.google.com" target="_blank">www.google.com</a><br>ping: unknown host <a href="http://www.google.com" target="_blank">www.google.com</a><br>
<br>Now if I change the settings back to automatically get an IP via dhcp, and<br>restart the network then I can ping <a href="http://www.google.com" target="_blank">www.google.com</a> and get a reply.<br><br><br>What am I doing wrong here?<br>
<br></blockquote><div>Sounds like DNS issue. Statically set the DNS to the same IP as your default gateway or manually enter the actual ip of the DNS servers. I prefer the first option so you don't have to worry about updating dns entries unless you have some reason to use specific dns servers.<br>
<br>-Max <br></div></div><br>