On Wednesday 18 April 2001 15:20, you wrote:
> well....you need to rethink your network configuration because Linux will
> _always_ put a route to your default network in the IP routing table, why
> shouldn't it?
Yes. And it is doing that. But for things to work I need it to stop putting
in that one line..
> Your gateway would live on your default network.
> According to your IP and Netmask in the configuration you sent, your
> network would be 44.0.0.0 Is that correct?
That is correct..
> Are you on a class 'A'
Well my ip address falls within that range. It is 44.135.34.209.
> network? ( I _thought_ only AT&T and some other giants had class 'A') So,
> I believe that there is a mismatch between your IP and Netmask.
> Also, the ifcfg-eth<n> file is a text configuration, not a 'script' per se,
> therefore, it would not execute a command like 'route del -net .....'
> -Brad
Right. And that is why I wasn't entirely surprised to see the system
objecting to that ./route/del statement..
So, if I want to work anyone on the 44.xx.xx.xx network - I need to delete
that statement. Otherwise I can't but I can see the rest of the world.. Not
good enough though.
>
> Ted Gervais wrote:
> > On Wednesday 18 April 2001 14:44, you wrote:
> > > usually the configuration information is stored in:
> > > /etc/sysconfig/network-scripts/*
> > > that directory should contain a file like: ifcfg-eth<n> which will hold
> > > the configuration parameters. Hope this helps.
> > > -Brad
> >
> > Hello Brad, and the others on the list. Well I went and tried what you
> > said and added my delete statement to the ifcfg-eth0 file. Here is where
> > I did:
> >
> > # This is my /etc/sysconfig/network-scripts/ifcfg-eth0 file:
> > # I added the delete statement to the bottom. ..
> > --
> > [root@localhost network-scripts]# more ifcfg-eth0
> > DEVICE=eth0
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=44.135.34.209
> > NETMASK=255.0.0.0
> > GATEWAY=44.135.34.201
> > /sbin/route del -net $44.0.0.0 netmask 255.0.0.0 eth0
> > ---
> >
> > This is what I see when I bring 'ifcfg-eth0' up.
> >
> > [root@localhost network-scripts]# /sbin/ifup eth0
> > SIOCDELRT: No such process
> > SIOCDELRT: No such process
> > SIOCDELRT: No such process
> >
> > Obviously the ../route del at the bottom of that file was not supposed to
> > be there.. ???
> >
> > And a routing query shows the 44.0.0.0 line still there..
> >
> > [root@localhost network-scripts]# /sbin/route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface 127.0.0.0 * 255.0.0.0 U 0 0
> > 0 lo 44.0.0.0 * 255.0.0.0 U 0 0
> > 0 eth0 default linux.ve1drg.am 0.0.0.0 UG 0 0
> > 0 eth0
> >
> > So, I am right back where I started. Surely there must be a proper place
> > for that 'delete' statement other than in the /etc/rc.d/rc.local file?
> > And if the ifcfg-eth0 is the correct file for this - how does one enter a
> > delete statement in one of those files??
> >
> > ---
> > OAOAÇOAØ
> >
> > > Ted Gervais wrote:
> > > > I have a question for the list. When I installed RedHat 7.0 and now
> > > > RedHat7.1 I setup the network (ethernet card) by filling in the
> > > > blanks. That meets my needs but an extra line is produced. Here is
> > > > what I see when I /sbin/route:
> > > >
> > > > ----
> > > > Kernel IP routing table
> > > > Destination Gateway Genmask Flags Metric Ref
> > > > Use Iface 127.0.0.0 * 255.0.0.0 U 0
> > > > 0 0 lo 44.0.0.0 * 255.0.0.0 U 0
> > > > 0 0 eth0 default linux.ve1drg.am 0.0.0.0 UG 0
> > > > 0 0 eth0
> > > >
> > > > Until I del the 44.0.0.0 entry, I can't connect to the 44.xx.xx.xx
> > > > network.
> > > >
> > > > ie: /sbin/route del -net 44.0.0.0 netmask 255.0.0.0 eth0
> > > >
> > > > With that line gone I can reach the 44.xx.xx.xx network Plus anywhere
> > > > else in the world. Now, my question is - where do I enter tthis line
> > > > to get rid of this line when I reboot.???
> > > >
> > > > --
> > > > Ted Gervais
> > > > Coldbrook, Nova Scotia Canada
> > > >
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > > --
> > > **********************************************************
> > > * Brad Bonkoski tel. (602)659-7971 *
> > > * Software Engineer pager: (877)812-3402 *
> > > * Motorola Computer Group email: [EMAIL PROTECTED] *
> > > **********************************************************
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > Ted Gervais
> > Coldbrook, Nova Scotia Canada
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
> Ted Gervais wrote:
> > On Wednesday 18 April 2001 14:44, you wrote:
> > > usually the configuration information is stored in:
> > > /etc/sysconfig/network-scripts/*
> > > that directory should contain a file like: ifcfg-eth<n> which will hold
> > > the configuration parameters. Hope this helps.
> > > -Brad
> >
> > Hello Brad, and the others on the list. Well I went and tried what you
> > said and added my delete statement to the ifcfg-eth0 file. Here is where
> > I did:
> >
> > # This is my /etc/sysconfig/network-scripts/ifcfg-eth0 file:
> > # I added the delete statement to the bottom. ..
> > --
> > [root@localhost network-scripts]# more ifcfg-eth0
> > DEVICE=eth0
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=44.135.34.209
> > NETMASK=255.0.0.0
> > GATEWAY=44.135.34.201
> > /sbin/route del -net $44.0.0.0 netmask 255.0.0.0 eth0
> > ---
> >
> > This is what I see when I bring 'ifcfg-eth0' up.
> >
> > [root@localhost network-scripts]# /sbin/ifup eth0
> > SIOCDELRT: No such process
> > SIOCDELRT: No such process
> > SIOCDELRT: No such process
> >
> > Obviously the ../route del at the bottom of that file was not supposed to
> > be there.. ???
> >
> > And a routing query shows the 44.0.0.0 line still there..
> >
> > [root@localhost network-scripts]# /sbin/route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface 127.0.0.0 * 255.0.0.0 U 0 0
> > 0 lo 44.0.0.0 * 255.0.0.0 U 0 0
> > 0 eth0 default linux.ve1drg.am 0.0.0.0 UG 0 0
> > 0 eth0
> >
> > So, I am right back where I started. Surely there must be a proper place
> > for that 'delete' statement other than in the /etc/rc.d/rc.local file?
> > And if the ifcfg-eth0 is the correct file for this - how does one enter a
> > delete statement in one of those files??
> >
> > ---
> > OAOAÇOAØ
> >
> > > Ted Gervais wrote:
> > > > I have a question for the list. When I installed RedHat 7.0 and now
> > > > RedHat7.1 I setup the network (ethernet card) by filling in the
> > > > blanks. That meets my needs but an extra line is produced. Here is
> > > > what I see when I /sbin/route:
> > > >
> > > > ----
> > > > Kernel IP routing table
> > > > Destination Gateway Genmask Flags Metric Ref
> > > > Use Iface 127.0.0.0 * 255.0.0.0 U 0
> > > > 0 0 lo 44.0.0.0 * 255.0.0.0 U 0
> > > > 0 0 eth0 default linux.ve1drg.am 0.0.0.0 UG 0
> > > > 0 0 eth0
> > > >
> > > > Until I del the 44.0.0.0 entry, I can't connect to the 44.xx.xx.xx
> > > > network.
> > > >
> > > > ie: /sbin/route del -net 44.0.0.0 netmask 255.0.0.0 eth0
> > > >
> > > > With that line gone I can reach the 44.xx.xx.xx network Plus anywhere
> > > > else in the world. Now, my question is - where do I enter tthis line
> > > > to get rid of this line when I reboot.???
> > > >
> > > > --
> > > > Ted Gervais
> > > > Coldbrook, Nova Scotia Canada
> > > >
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > > --
> > > **********************************************************
> > > * Brad Bonkoski tel. (602)659-7971 *
> > > * Software Engineer pager: (877)812-3402 *
> > > * Motorola Computer Group email: [EMAIL PROTECTED] *
> > > **********************************************************
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > Ted Gervais
> > Coldbrook, Nova Scotia Canada
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
> --
> **********************************************************
> * Brad Bonkoski tel. (602)659-7971 *
> * Software Engineer pager: (877)812-3402 *
> * Motorola Computer Group email: [EMAIL PROTECTED] *
> **********************************************************
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
--
Ted Gervais
Coldbrook, Nova Scotia Canada
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list