Stupid network question - adding second nic for inside network
Solaris 10 06/06
Server: V210
Has 4 nic's
Currently have the system setup with 1 nic setup and running to normal outside IP on a business network. Works find, no issues.
I want to use a second nic to allow connection to an internal 192.168.... network so that I can access it from a workstation inside.
IP would be 192.168.1.17 gateway 192.168.1.1
So...
ifconfig bge1 plumb up
ifconfig 192.168.1.17 netmask 255.255.255.0
ifconfig -ashows...
bge1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
inet 192.168.1.17 netmask ffffff00 broadcast 192.168.1.255
ether 0:3:ba:5a:5c:52
netstat -rnshows....
Routing Table: IPv4
DestinationGatewayFlags RefUseInterface
-- -- -- --
XXX.XXX.176.160XXX.XXX.176.162U 1806 bge0
192.168.1.0 192.168.1.17 U 12 bge1
224.0.0.0XXX.XXX.176.162U 10 bge0
default XXX.XXX.176.161UG1 334165
127.0.0.1127.0.0.1UH5142 lo0
Note: the xxx.xxx... interface is the working main interface to the outside world.
I can ping the 192.168.1.17 which is the nic in the server, but can't ping say the gateway 192.168.1.1
Seems like I need a default route for it, but I already have a default for the normal network.
Clue as to what I am overlooking.
Note: this is in the global zone. I plan on letting a zone access this as well.

