Sponsored Content
Top Forums UNIX for Dummies Questions & Answers localhost-routing not working anymore in OpenSuse v10.1 Post 302135261 by Corvin on Friday 7th of September 2007 05:06:54 AM
Old 09-07-2007
localhost-routing not working anymore in OpenSuse v10.1

Hello,

I have a problem with localhost and the routing is not working.
I manually have to switch to CLI during boot and enter below
commands after each boot of the PC, else cron, mail-daemon,
and others relying on localhost-communication is not working:

ifconfig lo 127.0.0.1 up
route add -host 127.0.0.1 lo

then it works fine, but I cannot find a location to make this change permanent.

Maybe you can shed some light on this.

Here are the config files:

ls -d /etc/sysconfig/network/ifcfg-*
/etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
/etc/sysconfig/network/ifcfg-lo

[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='[DRIVER_NAME]'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE=[UNIQUE_ID]
USERCONTROL='no'
_nm_name='bus-pci-0000:00:12.0'

with my eth0 all is fine. Smilie

[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-lo
# Loopback (lo) configuration
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
STARTMODE=onboot
USERCONTROL=no

I do not find any config-errors.


What additional information would be useful to troubleshoot this issue?

Last edited by Corvin; 09-07-2007 at 06:54 AM.. Reason: Added system config/information
 

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

Sendmail not working anymore after resolv.conf change

Hi there, I am having a small issue with the mail function on our controllers. Recently we set up all the boxes as NFS slave servers and mail sending was not affected. We then had to change the servers addresses in resolv.conf and now email is being queued and not being sent. I have restarted... (3 Replies)
Discussion started by: lodey
3 Replies
VTYSH(1)							  Version 0.96.5							  VTYSH(1)

NAME
vtysh - a integrated shell for Quagga routing software SYNOPSIS
vtysh [ -b ] vtysh [ -E ] [ -d daemon ] ] [ -c command ] DESCRIPTION
vtysh is a integrated shell for Quagga routing engine. OPTIONS
Options available for the vtysh command: -b, --boot Execute boot startup configuration. It makes sense only if integrated config file is in use (not default in Quagga). See Info file Quagga for more info. -c, --command command Specify command to be executed under batch mode. It behaves like -c option in any other shell - command is executed and vtysh exits. It's useful for gathering info from Quagga routing software or reconfiguring daemons from inside shell scripts, etc. Note that mul- tiple commands may be executed by using more than one -c option and/or embedding linefeed characters inside the command string. -d, --daemon daemon_name Specify which daemon to connect to. By default, vtysh attempts to connect to all Quagga daemons running on the system. With this flag, one can specify a single daemon to connect to instead. For example, specifying '-d ospfd' will connect only to ospfd. This can be particularly useful inside scripts with -c where the command is targeted for a single daemon. -e, --execute command Alias for -c. It's here only for compatibility with Zebra routing software and older Quagga versions. This will be removed in future. -E, --echo When the -c option is being used, this flag will cause the standard vtysh prompt and command to be echoed prior to displaying the results. This is particularly useful to separate the results when executing multiple commands. -h, --help Display a usage message on standard output and exit. ENVIRONMENT VARIABLES
VTYSH_PAGER This should be the name of the pager to use. Default is more. FILES
/usr/local/etc/vtysh.conf The default location of the vtysh config file. /usr/local/etc/Quagga.conf The default location of the integrated Quagga routing engine config file if integrated config file is in use (not default). WARNING
This man page is intended to be a quick reference for command line options. The definitive document is the Info file Quagga. SEE ALSO
bgpd(8), ripd(8), ripngd(8), ospfd(8), ospf6d(8), isisd(8), zebra(8) BUGS
vtysh eats bugs for breakfast. If you have food for the maintainers try http://bugzilla.quagga.net AUTHORS
See http://www.zebra.org and http://www.quagga.net or the Info file for an accurate list of authors. Quagga VTY shell 27 July 2006 VTYSH(1)
All times are GMT -4. The time now is 10:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy