Re: Help --- Trouble deleting routes from my route tables

2002-08-14 Thread Lou Hamilton

I am getting a permission denied statement

Anthony E. Greene wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14-Aug-2002/01:31 -0400, Lou Hamilton [EMAIL PROTECTED] wrote:

Tried to delete them but they still show up after a reboot.


Look at /etc/sysconfig/network. There may be something unintended there.
Also look at /etc/sysconfig/network-scripts/ifcfg-eth0.`

Tony
- -- 
Anthony E. Greene mailto:[EMAIL PROTECTED]%3E
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: http://www.pobox.com/~agreene/
Linux. The choice of a GNU generation http://www.linux.org/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D

iD8DBQE9WfQjpCpg3WyUI50RAoxgAJ41lmF7HMzxpXgDGqjWNj7m2SpAlwCgko7n
54Z2lLirOU7A0k8k1Y7r3Yo=
=edtU
-END PGP SIGNATURE-









-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-14 Thread Lou Hamilton

Here are my results (sorry for the permission denied e-mail previously, i found my 
error):
-
/etc/sysconfig/network

NETWORKING=yes
HOSTNAME='Apollo'

-
/etc/sysconfig/network-scripts/ifcfg-eth0

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='no'
DHCP_HOSTNAME='Apollo'
BOOTPROTO='dhcp'
HWADDR='00:50:04:d4:ba:4b'
DEVICE='eth0'
TYPE='Ethernet'
ONBOOT='yes'
PEERDNS='yes'

-Lou

Anthony E. Greene wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14-Aug-2002/01:31 -0400, Lou Hamilton [EMAIL PROTECTED] wrote:

Tried to delete them but they still show up after a reboot.


Look at /etc/sysconfig/network. There may be something unintended there.
Also look at /etc/sysconfig/network-scripts/ifcfg-eth0.`

Tony
- -- 
Anthony E. Greene mailto:[EMAIL PROTECTED]%3E
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: http://www.pobox.com/~agreene/
Linux. The choice of a GNU generation http://www.linux.org/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D

iD8DBQE9WfQjpCpg3WyUI50RAoxgAJ41lmF7HMzxpXgDGqjWNj7m2SpAlwCgko7n
54Z2lLirOU7A0k8k1Y7r3Yo=
=edtU
-END PGP SIGNATURE-









-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-14 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14-Aug-2002/02:36 -0400, Lou Hamilton [EMAIL PROTECTED] wrote:
Here are my results (sorry for the permission denied e-mail previously, i
found my error):

I don't see anything wrong. This has to be a routing problem. I just don;t
know what it is.

Tony
- -- 
Anthony E. Greene mailto:[EMAIL PROTECTED]%3E
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: http://www.pobox.com/~agreene/
Linux. The choice of a GNU generation http://www.linux.org/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D

iD8DBQE9WgGmpCpg3WyUI50RAlv6AJ9vkP1IyXfCB2oItwHyAsuaYPvo/wCfcm3F
tvTF4WfJG6YkxOGeqTUksN4=
=1naj
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-14 Thread Jim Cunning

On Wed, 14 Aug 2002, Lou Hamilton wrote:

 Even with the routes deleted, I still cannot get to my server (Win2K)
 that has the print/file share on it. I am getting the messsage
 DESTINATION HOST UNREACHABLE.

 ANy ideas on what can be causing this problem?
[snip]

  My 'ifconfig' is showing that I am getting an IP address from the DHCP
  and it is valid on my network.
 
  'route -n', however, is showing that I have too many routes in my table
  and seems to be confusing the packets and sending everything to the
  default gateway. I do not even know where these routes came from. I
  never entered anything in manually. I only activated the eth0
  interface.
 
  My results of '/sbin/route -n' are:
 
  DestinationGateway GenmaskFlagsMetricRefUse
  Iface
  0.0.0.0192.168.1.1255.255.255.255UGH0 00
  eth0
  192.168.1.0192.168.1.1255.255.255.0UG000
  eth0
  192.168.1.00.0.0.0255.255.255.0U 000eth0
  127.0.0.00.0.0.0255.0.0.0U  000eth0
  0.0.0.0192.168.1.10.0.0.0UG   000eth0
 
  My new issue is getting rid of the unwanted routes (lines 1 and 2). I
  have tried the 'route del' command to no avail. If anyone has any ideas
  on a syntax that will make this work, it would be greatly appreciated.
 
 
  I don't think you need to delete the first route entry, because that
  only
  routes packets to host 0.0.0.0 to the DHCP router. The one you want to
  delete is #2:
 
  route del -network 192.168.1.0 gw 192.168.1.1
 
  should work.

I was wrong (and should have tried it before sending it).  The command
should have been
route del -net 192.168.1.0 gw 192.168.1.1
and if you get something like SIOCDELRT: Invalid argument try
route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1

AND be sure to do this as root, not your normal user name.

You said in one of your earlier replies that the routes returned after
rebooting.  This is most likely because the routes are setup by the DHCP
client on your PC from the response by your DHCP server (your router). I
have no direct experience with Linksys routers, but their user manual
shows some screens from which you might get some clues to your problems.
Look at the Static Routing section in the user manual, for example.

If you continue to have problems, you might post the output from the
commands
netstat -rn
cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/sysconfig/network-scripts/ifup-routes

Good luck.

Jim



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-13 Thread Jim Cunning

On Wed, 14 Aug 2002, Lou Hamilton wrote:

 List:

 I am having an issue with my local routing table on my RH7.3
 Workstation. I have some extra lines in my routing table that I am
 having difficulties removing.

[snip]


 My 'ifconfig' is showing that I am getting an IP address from the DHCP
 and it is valid on my network.

 'route -n', however, is showing that I have too many routes in my table
 and seems to be confusing the packets and sending everything to the
 default gateway. I do not even know where these routes came from. I
 never entered anything in manually. I only activated the eth0 interface.

 My results of '/sbin/route -n' are:

 DestinationGateway GenmaskFlagsMetricRefUse
 Iface
 0.0.0.0192.168.1.1255.255.255.255UGH0 00eth0
 192.168.1.0192.168.1.1255.255.255.0UG000eth0
 192.168.1.00.0.0.0255.255.255.0U 000eth0
 127.0.0.00.0.0.0255.0.0.0U  000eth0
 0.0.0.0192.168.1.10.0.0.0UG   000eth0

 My new issue is getting rid of the unwanted routes (lines 1 and 2). I
 have tried the 'route del' command to no avail. If anyone has any ideas
 on a syntax that will make this work, it would be greatly appreciated.

I don't think you need to delete the first route entry, because that only
routes packets to host 0.0.0.0 to the DHCP router. The one you want to
delete is #2:

route del -network 192.168.1.0 gw 192.168.1.1

should work.

As a side note, but perhaps not part of your problem, the route for
127.0.0.0 is wrong. It should NOT point to eth0 but the lo

Jim



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-13 Thread Lou Hamilton

Tried to delete them but they still show up after a reboot.

the loopback is a typo in my example. it is pointing to lo not eth0. 
Thanks for noticing.

-Lou

Jim Cunning wrote:

On Wed, 14 Aug 2002, Lou Hamilton wrote:

List:

I am having an issue with my local routing table on my RH7.3
Workstation. I have some extra lines in my routing table that I am
having difficulties removing.


[snip]

My 'ifconfig' is showing that I am getting an IP address from the DHCP
and it is valid on my network.

'route -n', however, is showing that I have too many routes in my table
and seems to be confusing the packets and sending everything to the
default gateway. I do not even know where these routes came from. I
never entered anything in manually. I only activated the eth0 interface.

My results of '/sbin/route -n' are:

DestinationGateway GenmaskFlagsMetricRefUse
Iface
0.0.0.0192.168.1.1255.255.255.255UGH0 00eth0
192.168.1.0192.168.1.1255.255.255.0UG000eth0
192.168.1.00.0.0.0255.255.255.0U 000eth0
127.0.0.00.0.0.0255.0.0.0U  000eth0
0.0.0.0192.168.1.10.0.0.0UG   000eth0

My new issue is getting rid of the unwanted routes (lines 1 and 2). I
have tried the 'route del' command to no avail. If anyone has any ideas
on a syntax that will make this work, it would be greatly appreciated.


I don't think you need to delete the first route entry, because that only
routes packets to host 0.0.0.0 to the DHCP router. The one you want to
delete is #2:

   route del -network 192.168.1.0 gw 192.168.1.1

should work.

As a side note, but perhaps not part of your problem, the route for
127.0.0.0 is wrong. It should NOT point to eth0 but the lo

Jim









-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-13 Thread Lou Hamilton

Even with the routes deleted, I still cannot get to my server (Win2K) 
that has the print/file share on it. I am getting the messsage 
DESTINATION HOST UNREACHABLE.

ANy ideas on what can be causing this problem?

-Lou

Lou Hamilton wrote:

 Tried to delete them but they still show up after a reboot.

 the loopback is a typo in my example. it is pointing to lo not eth0. 
 Thanks for noticing.

-Lou

 Jim Cunning wrote:

 On Wed, 14 Aug 2002, Lou Hamilton wrote:

 List:

 I am having an issue with my local routing table on my RH7.3
 Workstation. I have some extra lines in my routing table that I am
 having difficulties removing.


 [snip]

 My 'ifconfig' is showing that I am getting an IP address from the DHCP
 and it is valid on my network.

 'route -n', however, is showing that I have too many routes in my table
 and seems to be confusing the packets and sending everything to the
 default gateway. I do not even know where these routes came from. I
 never entered anything in manually. I only activated the eth0 
 interface.

 My results of '/sbin/route -n' are:

 DestinationGateway GenmaskFlagsMetricRefUse
 Iface
 0.0.0.0192.168.1.1255.255.255.255UGH0 00
 eth0
 192.168.1.0192.168.1.1255.255.255.0UG000
 eth0
 192.168.1.00.0.0.0255.255.255.0U 000eth0
 127.0.0.00.0.0.0255.0.0.0U  000eth0
 0.0.0.0192.168.1.10.0.0.0UG   000eth0

 My new issue is getting rid of the unwanted routes (lines 1 and 2). I
 have tried the 'route del' command to no avail. If anyone has any ideas
 on a syntax that will make this work, it would be greatly appreciated.


 I don't think you need to delete the first route entry, because that 
 only
 routes packets to host 0.0.0.0 to the DHCP router. The one you want to
 delete is #2:

 route del -network 192.168.1.0 gw 192.168.1.1

 should work.

 As a side note, but perhaps not part of your problem, the route for
 127.0.0.0 is wrong. It should NOT point to eth0 but the lo

 Jim















-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Help --- Trouble deleting routes from my route tables

2002-08-13 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14-Aug-2002/01:31 -0400, Lou Hamilton [EMAIL PROTECTED] wrote:
Tried to delete them but they still show up after a reboot.

Look at /etc/sysconfig/network. There may be something unintended there.
Also look at /etc/sysconfig/network-scripts/ifcfg-eth0.`

Tony
- -- 
Anthony E. Greene mailto:[EMAIL PROTECTED]%3E
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: http://www.pobox.com/~agreene/
Linux. The choice of a GNU generation http://www.linux.org/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D

iD8DBQE9WfQjpCpg3WyUI50RAoxgAJ41lmF7HMzxpXgDGqjWNj7m2SpAlwCgko7n
54Z2lLirOU7A0k8k1Y7r3Yo=
=edtU
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list