new member - test post

new member - test post

am 08.07.2008 16:21:09 von Jake Ravenwood

new member - test post. pls ignore.




--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

wrong default route

am 08.07.2008 16:25:50 von Jake Ravenwood

I have a server out there that i remotely manage. i had a downtime the other day when we
restarted network services. then we found a wrong default route is laoded on the server
upon restart. i have the configs below. The defaultroute should be
GATEWAY=192.168.65.142 but it loaded GATEWAY=10.2.1.14 upon restart.
Could it be the sequence the interfaces are enabled from eth0 then eth1 then eth5, the
last interface activated its own gateway as the default?

Should i delete the gateway on eth0 and eth5 such that it would make sure only the
defaultgateway on eth1 is loaded upon restart?

i just can't restart network services and see what happens, the server is in production
and it takes a lot of authorization before i can restart it.

thanks,
june


/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=no
BOOTPROTO=static
IPADDR=10.11.13.150
NETMASK=255.255.255.192
GATEWAY=10.11.13.129
HOSTNAME=web2003
HWADDR=00:19:BB:AB:CD:EF
ETHTOOL_OPTS="speed
100 duplex full autoneg off"


/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:19:BB:AA:DD:CC
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.65.131
NETMASK=255.255.255.240
GATEWAY=192.168.65.142
HOSTNAME=web2003.domain.net
ETHTOOL_OPTS="speed
100 duplex full autoneg off"


/etc/sysconfig/network-scripts/ifcfg-eth5
DEVICE=eth5
HWADDR=00:18:FE:BB:CC:DD
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.2.1.1
NETMASK=255.255.255.240
GATEWAY=10.2.1.14
HOSTNAME=web2003.domain.net
ETHTOOL_OPTS="speed
100 duplex full autoneg off"





--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 17:24:00 von Jake Ravenwood

thanks for the answers. can you confirm that the should be default route eth1 was overwritten by eth5 gateway?





--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 17:43:48 von Striker

Quoting Jake Ravenwood : Jake Ravenwood once said:

> thanks for the answers. can you confirm that the should be default
> route eth1 was overwritten by eth5 gateway?

Would those who have answered Jake, PLEASE respond to the list also,
for the benefit of all list members?

Thanks

>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>




--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 18:01:35 von Yuri Csapo

This is a cryptographically signed message in MIME format.

--------------ms080508060702030007010803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Oops sorry Striker, this list has been quiet for so long I forgot my
manners. Anyway my answer was:

"Hi Jake and welcome to the list. You only need one default gateway. I
don't know why some distros do it like this and seem to encourage you to
enter a gateway for each interface; my suggestion is to leave the
GATEWAY entry blank for all entries except the actual one.

Yuri"



Striker wrote:
> Quoting Jake Ravenwood : Jake Ravenwood once said:
>
>> thanks for the answers. can you confirm that the should be default
>> route eth1 was overwritten by eth5 gateway?
>
> Would those who have answered Jake, PLEASE respond to the list also,
> for the benefit of all list members?
>
> Thanks
>
>>
>>
>>
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone: (303) 273-3503
Fax: (303) 273-3475
Email: ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

--------------ms080508060702030007010803
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIH9zCC
AlYwggG/oAMCAQICEGGEG+8vIuZyO0EmnyFFyvgwDQYJKoZIhvcNAQEFBQAw YjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4x LDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MTEx NTIzNDE1OFoX
DTA4MTExNDIzNDE1OFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1l bWJlcjEfMB0G
CSqGSIb3DQEJARYQeWNzYXBvQG1pbmVzLmVkdTCBnzANBgkqhkiG9w0BAQEF AAOBjQAwgYkC
gYEA44EP73U7iwsNfLgFfAvF468YJ5d+11KpnVJZQY5OxUb0BKqP9tcWLfh7 Di/+s0cjBu83
TGl94zUQkA1is7PdQaPJ5aGh0/5l3wjavQR1UH+silctf/ijp44ofigm+WVc f8LpIRROVLle
edqsHlfkvIYeBdmk3X5soTn5KBsVwjcCAwEAAaMtMCswGwYDVR0RBBQwEoEQ eWNzYXBvQG1p
bmVzLmVkdTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAK1xzmzy xbq+0k4He4Z0
G5MRg0yxbqE3Ft9j5Sfkab9xhGdNLz/TQnJ7hmsi1kw+OsXH+A+Ki6M644XH 3hQErAiwRD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THRkLjEs
MCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EC EGGEG+8vIuZy
O0EmnyFFyvgwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3 DQEHATAcBgkq
hkiG9w0BCQUxDxcNMDgwNzA4MTYwMTM1WjAjBgkqhkiG9w0BCQQxFgQU6Jvd bsgNUof9ZHmj
D5dq9mgjc3QwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG 9w0DAgICAIAw
DQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsG AQQBgjcQBDF4
MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5n IChQdHkpIEx0
ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5n IENBAhBhhBvv
LyLmcjtBJp8hRcr4MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMC WkExJTAjBgNV
BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1Ro YXd0ZSBQZXJz
b25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBhhBvvLyLmcjtBJp8hRcr4MA0G CSqGSIb3DQEB
AQUABIGAQPH592FyUTuI7fK7TAZYzarFgD+xfKz6QW518sAVjU+V5nQKyEBC H8ARWC5cm7p0
F3mXGUHSXIdtwlqgqjtaB0WURHf/AQ/G5/VzY5er4M/Zpdv35DhVxDiGK4E0 R+YKGbm2VU+c
9ZWnZPicPKhs7d/nMlU+uLUp5gqcRQvt1p4AAAAAAAA=
--------------ms080508060702030007010803--
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 18:14:50 von Ben Kevan

On Tuesday 08 July 2008 08:43:48 am you wrote:
> Quoting Jake Ravenwood : Jake Ravenwood once said:
> > thanks for the answers. can you confirm that the should be default
> > route eth1 was overwritten by eth5 gateway?
>
> Would those who have answered Jake, PLEASE respond to the list also,
> for the benefit of all list members?
>
> Thanks

I was thinking the same thing, then I honestly thought Jake may have been
talking to himself?

Jake, can you forward the resolution email to the list, or the original author
please re-reply to the list? It would be good to have in the thread.

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 18:15:27 von Striker

Quoting Yuri Csapo : Yuri Csapo once said:

>
> "Hi Jake and welcome to the list. You only need one default gateway. I
> don't know why some distros do it like this and seem to encourage you to
> enter a gateway for each interface; my suggestion is to leave the
> GATEWAY entry blank for all entries except the actual one.
>
> Yuri"

Thank you, Yuri. Your reply is exactly what I was thinking, but not
being a networking guru, I hesitated to reply. Thanks for your answer.



--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 19:33:40 von Jake Ravenwood

thank you for all answers and suggestions. I am modifying my network settings to only one GATEWAY defined.

-jake


--- On Tue, 7/8/08, Striker wrote:

> From: Striker
> Subject: Re: wrong default route
> To: linux-admin@vger.kernel.org
> Date: Tuesday, July 8, 2008, 4:15 PM
> Quoting Yuri Csapo : Yuri Csapo once
> said:
>
> >
> > "Hi Jake and welcome to the list. You only need
> one default gateway. I
> > don't know why some distros do it like this and
> seem to encourage you to
> > enter a gateway for each interface; my suggestion is
> to leave the
> > GATEWAY entry blank for all entries except the actual
> one.
> >
> > Yuri"
>
> Thank you, Yuri. Your reply is exactly what I was thinking,
> but not
> being a networking guru, I hesitated to reply. Thanks for
> your answer.
>
>
>
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wrong default route

am 08.07.2008 20:24:02 von Striker

Quoting Jake Ravenwood : Jake Ravenwood once said:

>
> thank you for all answers and suggestions. I am modifying my network
> settings to only one GATEWAY defined.
>
> -jake

That's great, Jake. Please let us know how it works out.


Cheers



--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Fwd: wrong default route

am 08.07.2008 22:27:04 von Herta Van den Eynde

Apologies for using "Reply" instead of "Reply to all". I'm used to
mailinglists putting the mailinglist's address in the reply-to field.
Any reason why this mailing list does not do that?

Anyway, below is my first reply.

Kind regards,

Herta


---------- Forwarded message ----------
From: Herta Van den Eynde
Date: 2008/7/8
Subject: Re: wrong default route
To: jakeravenwood@yahoo.com


2008/7/8 Jake Ravenwood :
> I have a server out there that i remotely manage. i had a downtime the other day when we
> restarted network services. then we found a wrong default route is laoded on the server
> upon restart. i have the configs below. The defaultroute should be
> GATEWAY=192.168.65.142 but it loaded GATEWAY=10.2.1.14 upon restart.
> Could it be the sequence the interfaces are enabled from eth0 then eth1 then eth5, the
> last interface activated its own gateway as the default?
>
> Should i delete the gateway on eth0 and eth5 such that it would make sure only the
> defaultgateway on eth1 is loaded upon restart?
>
> i just can't restart network services and see what happens, the server is in production
> and it takes a lot of authorization before i can restart it.
>
> thanks,
> june
>
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> ONBOOT=no
> BOOTPROTO=static
> IPADDR=10.11.13.150
> NETMASK=255.255.255.192
> GATEWAY=10.11.13.129
> HOSTNAME=web2003
> HWADDR=00:19:BB:AB:CD:EF
> ETHTOOL_OPTS="speed
> 100 duplex full autoneg off"
>
>
> /etc/sysconfig/network-scripts/ifcfg-eth1
> DEVICE=eth1
> HWADDR=00:19:BB:AA:DD:CC
> ONBOOT=yes
> TYPE=Ethernet
> IPADDR=192.168.65.131
> NETMASK=255.255.255.240
> GATEWAY=192.168.65.142
> HOSTNAME=web2003.domain.net
> ETHTOOL_OPTS="speed
> 100 duplex full autoneg off"
>
>
> /etc/sysconfig/network-scripts/ifcfg-eth5
> DEVICE=eth5
> HWADDR=00:18:FE:BB:CC:DD
> ONBOOT=yes
> TYPE=Ethernet
> BOOTPROTO=static
> IPADDR=10.2.1.1
> NETMASK=255.255.255.240
> GATEWAY=10.2.1.14
> HOSTNAME=web2003.domain.net
> ETHTOOL_OPTS="speed
> 100 duplex full autoneg off"
>

Add the default gateway to /etc/sysconfig/network. Use static routes
for the others.

Kind regards,

Herta

--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."



--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Fwd: wrong default route

am 08.07.2008 22:27:38 von Herta Van den Eynde

And this was my second.

Kind regards,

Herta


---------- Forwarded message ----------
From: Herta Van den Eynde
Date: 2008/7/8
Subject: Re: wrong default route
To: jakeravenwood@yahoo.com


2008/7/8 Jake Ravenwood :
> thanks for the answers. can you confirm that the should be default route eth1 was overwritten by eth5 gateway?
>

Yes, it did. You can check the startup script /etc/init.d/network
yourself. It does a 'cd /etc/sysconfig/network-scripts' followed by a
'ls ifcfg*', so it will process the ifcfg files in alphabetical order.
/var/log/messages should also show you the startup order.

Kind regards,

Herta

--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."



--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Fwd: wrong default route

am 08.07.2008 23:09:30 von Glynn Clements

Herta Van den Eynde wrote:

> Apologies for using "Reply" instead of "Reply to all". I'm used to
> mailinglists putting the mailinglist's address in the reply-to field.
> Any reason why this mailing list does not do that?

Because the Reply-To header "belongs" to the author.

Occasionally, it may be desirable to post private replies, and
"stealing" the Reply-To header prevents that (mail clients won't let
you reply to the From address if a Reply-To header exists).

Not only does a forced Reply-To header prevent the message from being
sent directly to the user, but will cause it to be sent to a public
mailing list instead. If the reply was intending to be private, the
message may well contain information which shouldn't be made public.

The author can always choose to add their own Reply-To header if they
never want to receive off-list replies.

Having the mailing list set its own Reply-To header is a workaround
for "non-technical" lists, where many of the subscribers may not
understand the difference between "reply" and "follow-up".

Presumably the vger admins (na=EFvely) assumed that a list targeted to
Linux sysadmins doesn't need such workarounds.

--=20
Glynn Clements
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html