Article View: ahn.tech.linux
Article #1050Re: dhcp client for cable modem
From: Jan Vandesompele
Date: Sun, 21 Jan 2001 13:22
Date: Sun, 21 Jan 2001 13:22
28 lines
2023 bytes
2023 bytes
You can use Dhcp client daemon to ask for an ip address. Just type: dhcpcd This will set the ip address of eth0 through dhcp. You can specify the networkcard with 'eth0', 'eth1' as parameters. (look at the manpages: man dhcpcd) "DEVILUS GRAY" <dvgray@a.net> wrote in message news:kG286.1185$mo2.87837@news1.news.adelphia.net... > using redhat 7.0, though this might not matter much due to the nature of my > question. > I have two network cards both with static ip address for a private network. > both were configured using /sbin/ifconfig. > > using ifconfig i set the ip adderss, netmask, and broadcast and both > interfaces work just fine. > > my question is, is there a way to set one of the interfaces to respond as a > dhcp client via command line using ifconfig? > > the goal here is to connect one of the interfaces to receive an ip address > via a cable modem. > > thankyou. > >
Technical Details
Message-ID:
<ioBa6.239900$MA1.7638652@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!btnet-peer!btnet!news-hub.cableinet.net!ldn-newsfeed.speedport.net!newsfeed.speedport.net!newsfeeds.belnet.be!news.belnet.be!afrodite.telenet-ops.be!not-for-mailReferences:
<kG286.1185$mo2.87837@news1.news.adelphia.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11033e,8d350b259f09ee5 X-Google-Attributes: gid11033e,public X-Google-ArrivalTime: 2001-01-21 05:22:24 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!btnet-peer!btnet!news-hub.cableinet.net!ldn-newsfeed.speedport.net!newsfeed.speedport.net!newsfeeds.belnet.be!news.belnet.be!afrodite.telenet-ops.be!not-for-mail From: "Jan Vandesompele" <jan.vandesompele@pandora.be> Newsgroups: ahn.tech.linux References: <kG286.1185$mo2.87837@news1.news.adelphia.net> Subject: Re: dhcp client for cable modem Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: <ioBa6.239900$MA1.7638652@afrodite.telenet-ops.be> Date: Sun, 21 Jan 2001 13:22:22 GMT NNTP-Posting-Host: 213.224.232.15 X-Complaints-To: abuse@pandora.be X-Trace: afrodite.telenet-ops.be 980083342 213.224.232.15 (Sun, 21 Jan 2001 14:22:22 MET) NNTP-Posting-Date: Sun, 21 Jan 2001 14:22:22 MET Organization: Telenet Internet