By "network block", I just meant the IP network that you're a part
of. You should be able to view all of the IP entries in the modem with
the following command:
snmpwalk 192.168.0.1 public | grep IpAddress
I don't know if that will be easier to interperet, but you can give it a
try: )
MSG
On Fri, 3 Nov 2000, Rob Hardowa wrote:
> Hi Gordon,
>
> I should have mentioned before that ifconfig doesn't work. Yes, it is an
> NAT modem (Alcatel).
>
> It looks like snmpwalk would be what I am looking for, but I am unclear
> about how to find the network block....in fact I am unclear as to what is
> the network block :) I know the first 2 numbers of all machines on our
> network, but I don't know (offhand) the last two.
>
> As far as my local eth0, ifconfig reveals (xx's to protect the innocent)
>
> inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.255 Mask:255.255.255.0
>
> Any further help is appreciated...
>
>
> On Fri, 03 Nov 2000, you wrote:
> > On Fri, 3 Nov 2000, Rob Hardowa wrote:
> >
> > As mentioned by others, ifconfig will help you find the IP's associated
> > with local interfaces. However, if you're using a routing DSL modem (the
> > kind that does NAT rather than PPPoE), you'll probably have to use
> > snmpwalk to find the IP address. This will be easiest if you know what
> > network block you're in.
> >
> > I was using something like this in a script a while ago:
> > snmpwalk 192.168.0.1 public ip.ipAddrTable.ipAddrEntry.ipAdEntAddr | \
> > grep '12\.18\.16.'
> >
> > MSG
>
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list