:: Re: [DNG] Refracta have a static IP
Inizio della pagina
Delete this message
Reply to this message
Autore: Hector Gonzalez Jaime
Data:  
To: dng
Oggetto: Re: [DNG] Refracta have a static IP

On 7/13/21 3:41 PM, Steve Litt wrote:
> Hi all,
>
> I'm trying to make my new Chimera based Refracta have a static IP
> address at 192.168.0.199/24, in order that every other computer on the
> 192.168.0.0/24 subnet can easily access it, and so I can put it on my
> LAN DNS.
>
> So I made my /etc/network/interfaces look like the following, which
> follows the guidelines of "man interfaces":
>
> =======================================
> auto lo
> iface lo inet loopback
>
> allow-hotplug eth0
> iface eth0 inet static
>    address 192.168.0.199
>    gateway 192.168.0.1
> =======================================

>
> Unfortunately, instead of the IP address being 192.168.0.199, it's a
> DHCP supplied 192.168.0.204 . What additional steps must I take to get
> my desired 192.168.0.199?

Steve, this happens when you still have a dhcp client running, Check if
you have something like isc-dhcp-client running and stop it, then you
can configure the interface on your own.
> Additional note: When I used 192.168.0.40, which I KNOW is not in my
> leased DHCP range, the result was the same. What must I do to get a
> static IP at 192.168.0.199/24 ?
>
> Thanks,
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


--
Hector Gonzalez
cacho@???