LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2021, 01:21 AM   #1
Tshane
Member
 
Registered: Apr 2021
Posts: 33

Rep: Reputation: Disabled
current and rc.inet1.conf


Does the new net conf file have a way of taking IP's we need to add to loopback?

in the past we just add it in rc.inet1 under 127.0.0.1
but this was wiped out with an update (not been updating the server for a while, i know, our bad), looking to find a way that future updates don't catch us sleepy hollows out again.
 
Old 12-06-2021, 01:27 AM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 594

Rep: Reputation: Disabled
In slackware-current, the loopback address is still set to 127.0.0.1. I wonder if you broke something else?
 
Old 12-06-2021, 06:35 AM   #3
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Tshane View Post
Does the new net conf file have a way of taking IP's we need to add to loopback?

in the past we just add it in rc.inet1 under 127.0.0.1
but this was wiped out with an update (not been updating the server for a while, i know, our bad), looking to find a way that future updates don't catch us sleepy hollows out again.
I've found it's best to use rc.local to assign an extra IP to loopback
 
Old 12-06-2021, 08:36 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
If you're looking for a way to setup virtual addresses, then I'd suggest using a 'dummy' interface rather than messing with aliases on loopback. It's what we used to use in the ppp/slip dialup days.
 
Old 12-07-2021, 01:11 AM   #5
Tshane
Member
 
Registered: Apr 2021
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
If you're looking for a way to setup virtual addresses, then I'd suggest using a 'dummy' interface rather than messing with aliases on loopback. It's what we used to use in the ppp/slip dialup days.
Do you have experience with F5 ltm's? adding to loopback is what their docs say to do
 
Old 12-07-2021, 01:14 AM   #6
Tshane
Member
 
Registered: Apr 2021
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nobby6 View Post
I've found it's best to use rc.local to assign an extra IP to loopback
thats one option I guess but that could be subject to overwrite too if we are not paying attention?
I was trying to see if the network configuration file would accept loopback , being the interfaces configuration file 'n all
 
Old 12-07-2021, 04:00 AM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
Quote:
Originally Posted by Tshane View Post
Do you have experience with F5 ltm's? adding to loopback is what their docs say to do
Nope. Never even heard of F5. All I can say is that in the old days we'd use 'dummy' to provide persistent addresses for this sort of stuff.

Whether F5 requires the address to be attached to lo specifically, or not, I can't speak to.

Last edited by GazL; 12-07-2021 at 04:03 AM.
 
Old 12-07-2021, 12:31 PM   #8
rinaldij
Member
 
Registered: May 2011
Location: Oklahoma
Distribution: Slackware64 current
Posts: 55

Rep: Reputation: 10
/etc/hosts?
 
Old 12-08-2021, 12:11 AM   #9
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Tshane View Post
thats one option I guess but that could be subject to overwrite too if we are not paying attention?
I was trying to see if the network configuration file would accept loopback , being the interfaces configuration file 'n all
if you're not paying attention, even rc.inet1.conf can be overwritten

I've always found rc.local the safewst option.

But if you insist, remember that rc.inet1 calls and "runs" that conf file to set its variables, although never tried it, no reason why you couldn't put your ip addr foo in there, since its loopback, it wont be affected by anything else that file does.
 
Old 12-08-2021, 12:20 AM   #10
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by GazL View Post
Nope. Never even heard of F5. All I can say is that in the old days we'd use 'dummy' to provide persistent addresses for this sort of stuff.

Whether F5 requires the address to be attached to lo specifically, or not, I can't speak to.
They dont require it specifically, but its recommended since loopback does not participate in ARP
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current rc.inet1.conf netmask problem. gildbg Slackware 7 07-09-2021 06:27 AM
duplicate/backup init files - i.e. rc.inet1 and rc.inet1.orig krakanut Slackware 3 08-07-2020 02:45 PM
Modifications to rc.inet1, rc.inet1.conf and rc.wireless hba Slackware 1 12-07-2014 03:57 AM
rc.wireless.conf and rc.inet1.conf for wireles cards davimint Slackware 1 07-13-2007 05:44 AM
rc.inet1 and rc.inet1.conf edafe Slackware 0 02-16-2005 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration