How to do NAT on Solaris 10 ?
Hello,
I am sorry if asking a stupid question, I have two computers at home and I would like both of them connected to the internet.
How do I setup DHCP, NAT and maybe a DNS cache or server on my Solaris computer ? What else do I need ?
How do I install DHCP server package from Solaris CDs if I don't have it yet ? Or can I get the package somewhere else, like from the Sun site ? What is the package name ?
Sorry I tried to read the manual but I am still new to Solaris and there is so much material to learn.
Thank you,
Timothy Madden,
Romania.
How do I setup DHCP, The easiest way is to just sys-unconfig and select dhcp
NATman ipf or docs.sun.com search for ipfilter or the ipfilter home page
and maybe a DNS cache orcreate /etc/named.conf and populate accordingly. Google for DNS Cache should net you many examples to choose from.
Start with the Network Services and Naming Services guides on docs.sun.com
alan
Similar Messages
-
How to check if my solaris 10 os is up to date?
how to check if my solaris 10 os is up to date?
Current Kernel Patch can be displayed using
-bash-3.2$ uname -a
SunOS g0043 5.10 Generic_150400-13 sun4v sparc sun4v
Solaris 10 Update 11 Kernel Patches are 150400-1 till -22
150400-22 was released a few days ago
Best regards,
Marcel -
How to tune segmapsize in solaris
Hi
Does anyone has better explanation on how to tune segmapsize in Solaris 8.
How to check configured value. From below command what can be concluded ?
root@mdsmdcs1 / # kstat -n segmap
module: unix instance: 0
name: segmap class: vm
crtime 182.906817812
fault 19689020
faulta 0
free 386405
free_dirty 134
free_notfree 1749
get_nofree 0
get_nomtx 0
get_reclaim 139897711
get_reuse 572646
get_unused 0
get_use 6178
getmap 140718838
pagecreate 2707028
rel_abort 0
rel_async 2673641
rel_dontneed 2618364
rel_free 92063
rel_write 2745169
release 137881594
snaptime 10790699.8598267
stolen 0
i.e eeprom segmapsize=0x40000000In Solaris 10 you can tune it by setting 'segmap_percent' in /etc/system, i can imagine its doable in Solaris 8 as well.
See the tunables reference:
http://docs.sun.com/app/docs/doc/816-0607?l=all
.7/M. -
How to turnoff firewall on solaris 10?
hey everybody,
do you know how to turn off the firewall on solaris 10 ?, because i installed 3 rd party program, and need to disable the firewall...
thank you so much, for your helpHi,
Can you please let me know how to disable firewall on Solaris 9.
Does this command [*svcadm disable ipfilter*] disable firewall even on Solaris 9?
Please let me know.
TIA.
Regards,
Prashanth. -
How to use rsync on Solaris 10
I have set up rsync to run as a daemon on 2 Solaris 10 servers
rsync --daemon
with a /etc/rsyncd.conf file of
motd file = /etc/motd
max connections = 5
syslog facility = local3
[ftp]
comment = ftp area
path = /
read only = yes
list = yes
uid = nobody
gid = nobody
[tmp]
comment = temporary file area
path = /tmp
read only = yes
list = yes
host allow = l3sun l4sun
auth users = root
when I execute
rsync -vrzt l3:/usr/ptraq/man /usr/ptraq/man
it gives the following:
The authenticity of host 'l3 (89.1.20.13)' can't be established.
RSA key fingerprint is 45:e6:23:88:42:7f:a6:9f:55:b4:43:ba:1c:1d:90:45.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'l3,89.1.20.13' (RSA) to the list of known hosts.
Password:
Password:
Password:
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Any ideas as to how to use rsync on Solaris 10When given a file source lie l3:/usr/ptraq/man with one colon (:) ssh attempts to connect using ssh.
If you want to connect to the rsync daemon, you need to give 2 colons l3::/usr/ptraq/man.
Your other alternative is to setup ssh keys so you can log in without a password and then you won't have to run rsync in daemon mode at all. -
How to Enable Firewall in Solaris 10 SPARC
How to Enable Firewall in Solaris 10 SPARC
What exactly are you looking for? By default Solaris is a secure operating system, but can be tuned to be more or less secure. The link above on IP Filtering is one way to make a system more secure, and is can be used to set up a firewall.
-- Alan -
How to do nat at active/active asa
Hi i want to learn how to do nat(PAT) at active/active asa. i must be write nat command each context or other way which i do not know?
thanksHi Teymur,
Configuring NAT on an Active/Active pair is the same as any other multi-context ASA. The NAT commands are configured per-context, so you'll just want to login to the appropriate context to configure the commands.
In an Active/Active pair, some contexts are Active on one physical unit, while other contexts are Active on the other physical unit, but that's the only difference. You'll want to make sure you always make changes on the Active version of the context.
Hope that helps.
-Mike -
Can somebody help me figure out the applet signing procedure/utility for the solaris platform ASAP. We got the following error message if we try now:
When trying to start MainMenu (converted Oracle form) on Solaris from panda using JDK1.3 plug-in, I am getting the
following exception:
"java.security.cert.CertificateException: Unable to verify the certificate with root CA"Rajesh.Rathod wrote:
Hi All,
i have a 1og database on solaris os.
How to access isqlplus on Solaris.
Thanks in advance.
Regards,
Rajeshisqlplus is a web-based app. Fire up any browser and point to the appropriate ipaddress:port. -
I'm trying to install a new HP Laserjet 3200 on Solaris 8. How do I do that so that it understands PCL and can print graphics, etc.
Rajesh.Rathod wrote:
Hi All,
i have a 1og database on solaris os.
How to access isqlplus on Solaris.
Thanks in advance.
Regards,
Rajeshisqlplus is a web-based app. Fire up any browser and point to the appropriate ipaddress:port. -
How to change nat type 3 to nat type 2 for Plastation 4?
how to change nat type 3 to nat type 2 for adaptation 4? i am havng a complicated time with this im'm just trying to play online and been at it fotr 3 days i have tried about everuyhing n portforwarding.com i have a Cisco Linksys E1000
Hi ceasar14. I actually found some steps (from a source) that worked for me. I'm not sure if it will work for you. Here are the steps:
1. Get the MAC address of your PS3. To find your MAC address simply go to
Settings > System Settings > System Information
2. Assign a static IP address on your PS3.
3. Access your router's user interface to open a few ports.
4. Under Applications and Gaming > Port Range Forwarding, open the following ports:
TCP: 80, 443, 5223
UDP: 3478, 3479, 3658
5. Once this is done, powercycle your PS3 and the router.
6. Run a connection test and check if it is now on NAT2.
Good luck. -
How do I NAT inbound traffic from a site to site VPN?
OK, This is confusing me....
I have an ASA5520 and need to set up multiple VPN's to some vendor sites. All these vendors are using 192.168.1.0 networks. All have public IP's and very little knowledge so are unable to NAT from their end.
The idea is to create some /28 blocks of IP's (172.29.0.0/28) and manage this on our end.
How do I get this to work?
Thanks in advance....
Brent
example: (all IP's are fictional)
tunnel1
VPN
My side "outside" 10.10.10.10
Their side "outside" 20.20.20.20
Networks
My side "inside" 172.30.30.0
Their side "inside" 192.168.1.0 NAT'ed to 172.29.0.0/28
tunnel2
VPN
My side "outside" 10.10.10.10
Their side "outside" 30.30.30.30
Networks
My side "inside" 172.30.30.0
Their side "inside" 192.168.1.0 NAT'ed to 172.29.0.16/28
tunnel3
VPN
My side "outside" 10.10.10.10
Their side "outside" 40.40.40.40
Network (single address)
My side "inside" 172.30.30.1 255.255.255.255
Their side "inside" 192.168.1.1 255.255.255.255 NAT'ed to 172.29.0.33 255.255.255.255Hi bbanderson,
It can handle multiple VPN NATs.
All youve got to do is make multiple instances of the same crypto-map
like crypto-map crypto-map-name 1 peer-ip
" " 1 transform-set ....etc, etc.
crypto-map crypto-map-name 2
" " 2 transform-set ....etc, etc.
for the different peers 10.10.10.10, 20.20.20.20, etc, and match the ip address to each access-list there under each map instance.
crypto map Outside_map0 3 match address -this can be taken as an example.
HTH
Cheers
Arun -
How to install Dual OS(solaris 10 and Windows XP)?
I have got a 80 gb sata hard disk and i am not able to install Dual OS(solaris and Windows XP ) on it.My Partitions are as follows:
Primary partition-5GB
Remaining are extended Partition.
Extended partition details
8 gb NTFS partition(installed windows XP)
7 gb NTFS partiton(No data in it)
20 gb NTFS partition(No data in it)
20 gb NTFS partiton(has data in it)
15 gb RAW partiton
I first installed Windows xp on 8 gb Extended partiton.Then when i installed Solaris i could see only 2 partitons.One with the 5 gb and the other with the 71 gb.I actually wanted to install my solaris on the 15 gb Raw partition.Since i could not see the partition(15 gb Raw) i installed solaris on the 5 gb partition.Now when the comp boots it goes to solairs os only.i dont have the option to choose windows at all.
could any one of you explain me how the partitions are supposed to be and how could i make it as a Dual OS.
Saravanan
Message was edited by:
SaravananMandalaWindows uses the primary partiton for boot, too, even if you installed it on the NTFS volume in the extended partition. Wherever you install Windows, it will need the primary partition for booting. You can never boot from Windows extended partitions
As for the 15Gb raw partition, it look like what you call 'RAW partition' is actually just a small little part inside the extended partition. All your NTFS partitions (and your RAW partiton) are logical volumes and they all reside inside the extended partition. Even though Windows sees them as separate drives, each with its own drive letter, just as it sees the primary partition.
You may try do use Windows fdisk or diskpart to delete the last logical volume in the extended partition, and then get the ntfs resize tool from Linux, or the CD1 from the Debian Linux install CDs, which has it included and accessible with a nice user interface, and resize your extended partition.
I don't know if it works, I only used it to also resize some logical volume inside the partition. ntfs resize tool might not be easy to work with, you will need to read its documentation, but it does resize NTFS partitions (I have seen it).
If it works, then you will have your 15Gb as unallocated space available for a new partition. Let the Solaris installer create this new partition automatically during install.
Timothy Madden,
Romania -
How to Install oracle 11G Solaris 10 NO GUI using command line
Hello
I need to install oracle 11G R2 on Solaris 10 but cant use interactive mode i tried the following
/runInstaller -silent -force -debug FROM_LOCATION="/var/tmp/oracle/database/stageproducts.xml" ORACLE_HOME="/oracle/product"
As per oracle metalink documentation - however i get the following messages
[SEVERE] - My Oracle Support Username/Email Address Not Specified
has anyone installed oracle with no interactive mode how can i do so ?
thank youHave you followed the needed steps in the Install Guide ? http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/app_nonint.htm#BABFEECI
HTH
Srini -
How to auto login in Solaris 10
Hi all
I'm trying to establish auto login in Solaris 10, as a regular user or root. This is a personal testing machine, so security is not an issue.
I want to automatically login preferably in the shell mode, ( no GUI if it's possible ), otherwise I can login with GUI, no biggie.
From what I've found, it does not seem an easy job, given that my Solaris experience is somewhat limited, ( been working more on Linux ).
If I can get that going, I'd prefer to run a few scripts upon login, which I think I can do it.
So what steps must I go through to have auto login upon boot ? How hard is it ?
Appreciate any comments. Thanks
P.S. Just noticed I might have posted in the wrong forum. Sorry !
Which forum should I post again ?
Edited by: mysol on Jul 20, 2009 10:44 AMZFS has not yet been integrated into Solaris 10...
At this time you need either the "Software Express for Solaris 2/06"
( http://www.sun.com/software/solaris/solaris-express/ ) or the
"Solaris Express: Community Release"
( http://www.opensolaris.org/os/downloads/on/ ) to play with ZFS.
. -
How to Configure Internet on Solaris 10
Hi Guys,
I recently installed Solaris 10 on Vmware Workstation 7.0.1. I'm trying to get Internet to work in the solaris virtual machine by sharing it from the host machine but have not been successful.The Solaris Virtual Machine NIC is using NAT. Please help.
Thanks
kisadThank You for your reply. This is what i have configured.
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.51 netmask ffffff00 broadcast 10.0.0.255
ether 0:c:29:42:c3:b4
netstat -rnv
IRE Table: IPv4
Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
default 0.0.0.0 10.0.0.1 1500* 0 1 UG 0 0
10.0.0.0 255.255.255.0 10.0.0.51 e1000g0 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 10.0.0.51 e1000g0 1500* 0 1 U 0 0
127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 9 UH 278 0
Maybe you are looking for
-
Magsafe 2 for retina display macbook pro
I've had two different MacBook Pro's since 2006... I went through 4 magsafe power adapters as the cable coming straight off the connector always began to permanently bend at the magsafe connection point such that I didn't trust it from an electrical
-
ADF scanning with HP Office jet pro 8600
Have a new machine. I can scan documents individually on the scanner glass no problem, and when I feed documents through the ADF it all feeds through ok and says "scan successful" however what I have scanned through the ADF always shows as a blank do
-
Inserting rows in master-detail views
I have two VOs connected by a view link. I want to insert new rows in both the master VO and the detail VO and connect them together. I have the following: MasterEO (mapped to master_table) MasterVO (defined on MasterEO) DetailEO (mapped to detail_ta
-
has anyone tried to do this? http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000670.html I follwed this word for word with flash CS3 published as flash 9 actionscript 2.0 but only the defa
-
[SOLVED] I'm lost halfway between systemctl and netctl in Wifi Setup
I'm working through the wiki pages Wireless Setup, to wpa_supplicant, and now NetCtl for the past three days. My progression is not continuous--I've jumped around. I can get connected, but I'm not sure what's managing that connection. I'm lost. I'm s