Configure Network (Ethernet Cards) interfaces doubts.
Hi All,
I m beginner in Solaris/Unix, and I have same problems in configure my network.
I have one machine with 2 Ethernet Cards, this machine has multiboot, than it have Solaris 10 and Windows XP.
I will show the configuration that I have on Window,I need the same configuration in Solaris:
In eth0:
IP: 192.168.0.117 (In Solaris the name of this is in ifconfig is IP, OK?)
Mask: 255.255.255.0 (In Solaris the name of this is in ifconfig is
netmaks , OK?)
Gatway: 192.168.0.254 (In Solaris the name of this is in ifconfig broadcast, OK?)
Primary DNS: 192.168.0.254 (In Solaris I don�t know how configure this)
Secondary DNS: void (In Solaris I don�t know how configure this)
I Have an DHCP Server in 192.168.0.254, than I can use dhcp.
The problems, When I try use DHCP:
Ifconfg eth0 DHCP
This command delay and return an Error.
If Itry configure manually, like
Ifconfg eth0 192.168.0.117 (this OK)
Ifconfg eth0 netmask 255.255.255.0 (this OK)
Ifconfg eth0 broadcast 192.168.0.254 (here the 254 is changed to 255 that is broadcast default, but in my net broad cast or router is in 254)
Other thing how I save this configuration. When I restart I lost all changes�
Well in second interface the problem is same, but I didn�t have DHCP:
IP: 200.44.136.145 (In Solaris the name of this is in ifconfig is IP, OK?)
Mask: 255.255.255.192 (In Solaris the name of this is in ifconfig is netmaks , OK?)
Gatway: 200.44.136.129 (In Solaris the name of this is in ifconfig broadcast, OK?)
Primary DNS: 4.2.2.2 (In Solaris I don�t know how configure this)
Secondary DNS: void (In Solaris I don�t know how configure this)
fconfg eth1 200.44.136.145 (here .44 is changed to 36)
Any one can help-me please?
Thanks