Re: Moving IP address information from bge0 to bge1: Solaris 8 On Mar 5, 6:55 pm, James Carlson <james.d.carl...@sun.com> wrote:
> "Raqueeb Hassan" <widean...@gmail.com> writes:
> > Initially only one of it's 4 ethernet interfaces was configured for
> > the network connectivity. Recently, all types of communication ends up
> > freezing (ssh, ftp) and the ping replies are intermittent. The cable
> > connection and the switch ports are okay.
>
> Please provide "netstat -nr" and "ifconfig -a" output from the Solaris
> system and some basic information about your network. (Is the netmask
> really 255.255.0.0? Are all the machines on that network configured
> that way?)
>
> > Just to check whether the settings are staying or not, I rebooted the
> > whole system. The "ifconfig -a" doesn't return any IP address as
> > configured. We can't communicate with the system unless we use this
> > command:
>
> > # ifconfig bge1 10.1.1.2 netmask 255.255.0.0 broadcast 10.1.255.255
> > plumb up
>
> That's not going to work. You're telling the system to configure a
> non-existent interface, and then plumb it afterwards. That should be:
>
> # ifconfig bge1 plumb 10.1.1.2 netmask 255.255.0.0 \
> broadcast 10.1.255.255 up
>
> Or, equivalently, and more concisely:
>
> # ifconfig bge1 plumb 10.1.1.2/16 broadcast + up
Thanks for the replies. After the reboot, the ifconfig -a returns
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index
1
inet 127.0.0.1 netmask ff000000
bge1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.1.1.2 netmask ff000000 broadcast 10.255.255.255
ether x:x:xx:xx:xx:xx
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
inet 192.168.100.3 netmask ffffff00 broadcast 192.168.100.255
ether x:x:xx:xx:xx:xx
Here I configured annex to be connected to bge2. You are right. The
broadcast seems to be a issue here. How do I change that? What should
be the value of /etc/netmasks for network 10.1.1.0?
# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.100.0 192.168.100.3 U 1 0 bge2
127.0.0.1 127.0.0.1 UH 3 6 lo0
Here is a problem. It doesn't say anything about network 10.1.1.0 and
how that should be routed. How do I fix that?
TIA
--
Raqueeb Hassan
Bangladesh |