[ale] static ip network configuration
DJPfulio at jdpfu.com
DJPfulio at jdpfu.com
Sat Jan 11 19:26:35 EST 2025
There are other considerations to using static IPs that nobody has mentioned here.
Also, rc.local isn't enabled on modern Ubuntu. You can enable it, if you like, but that's a different rabbit whole to follow.
Using a router to provide static IPs to different devices can work, but there are complexities nobody has pointed out here. You can read up about "DHCP Reservations", which is the typical term used in routers. Your router will handle it differently than others, so if you can't figure that out, know your exact router version and firmware it uses.
Join the ALE-NW meeting tomorrow and get real, interactive, help there from people who actually use Ubuntu. When it comes to networking, Ubuntu isn't Debian or any other distro. If you have an Ubuntu Desktop, then using the GUI is probably the way you want to go. Sure, linux is linux is linux, to a point. Do you really want to cobble a different solution together? Only you know and can choose the answer for your needs.
And I'm with Russel on FVMW. Avoid the bloat. Use FVWM. ;) It is just enough desktop/WM not to suck, but more than "Suckless.org" dwm provides.
On 1/11/25 17:00, Phil Smith via Ale wrote:
>
> Gonna try it, but not until the Ravens/Steelers game is over tonight.
>
>
>
> On Saturday, January 11th, 2025 at 4:55 PM, Ron / BCLUG via Ale <ale at ale.org> wrote:
>
>>
>>
>> Phil Smith via Ale wrote on 2025-01-11 13:32:
>>
>>> I've got 5 or 6 different computers that I need static ips for.
>>>
>>> will this code work to assign a different ip address for each, or
>>> should I modify it?
>>
>>>>> ip link set dev enp3s6 down
>>>>> ip addr add 192.168.100.87/24 dev enp3s6
>>>>> ip route add default via 192.168.100.96
>>
>>
>>
>> The device name (enp3s6) will be unique to each machine and ought to
>> tab-auto-complete in bash.
>>
>>
>> The IP addr (192.168.100.87/24) will need to be unique for each machine.
>> Hence, the .87 will be what changes.
>>
>>
>> You may want to consider which network your router is handing out IP
>> addresses for, in this case it expects the router to be on 192.168.100.96.
>>
More information about the Ale
mailing list