dhcp

robert jorgenson plug-discuss@lists.PLUG.phoenix.az.us
Fri, 09 Nov 2001 13:08:08 -0700


okay ifconfig works fine eth0 shows up and i have an ip but there is no /etc/sysconfig/network file. Not using a cisco router just the
qwest gateway box and a netgear hub

Craig White wrote:

> robert jorgenson wrote:
> >
> > okay i am running SuSE 7.2(FINALLY thanx gontran and EBo) and so far all
> > i have done is ran yast2 and setup the NIC and i ran the hostname/dns
> > utility and checked the box that said use dhcp to set the hostname. And
> > i tried pinging stuff starting with this computer which it is hooked up
> > to on a network and it worked...the i tried pinging the gateway that
> > qwesy gave us and that worked...but i cant get outside to the internet.
> > If anyone knows whats goin on and can help i would appreciate it MUCHO!
> > thanx
> >
> -----
> type ifconfig
>
> it should list something like...
>
> eth0      Link encap:Ethernet  HWaddr 00:E0:29:43:F9:07
>           inet addr:24.221.62.42  Bcast:24.221.62.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:410999 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:344092 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:16749
>           RX bytes:327112700 (311.9 Mb)  TX bytes:55661176 (53.0 Mb)
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           EtherTalk Phase 2 addr:0/0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:103354 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:103354 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
>           RX bytes:48758734 (46.4 Mb)  TX bytes:48758734 (46.4 Mb)
>
> does eth0 show up?  have an address?
>
> then cat /etc/sysconfig/network
>
> it should look something like this...
>
> NETWORKING=yes
> HOSTNAME="hostname.isp.tld"
> GATEWAY=24.221.62.41
> GATEWAYDEV=eth0
>
> You need to have a gateway address and gateway device listed in this
> file so - if you are really a dhcpcd (or pump) client, these should be
> filled out automatically when you obtain an ip address.
>
> If you are using a Cisco 675/678 DSL modem using Qwest as ISP, then you
> would probably want to configure manually and forget about DHCP
> altogether...
>
> Qwest would normally configure the lan settings of a Cisco 675/678 with
> an ip address of 10.0.0.1 so you could simply change your settings as
> follows (manually configured)
>
> ip address 10.0.0.2
> subnet mask 255.255.255.0
> gateway address 10.0.0.1
> gateway device eth0
>
> /etc/resolv.conf (for phoenix area - Qwest ISP only)
>
> nameserver 206.80.192.1
> nameserver 204.147.80.5
> domain qwest.net
>
> Craig
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss