Configuring routes in Solaris

How can I manipulate (add/delete) routing table in Solaris from a
kernel module?
As I understand this can be achieved from the user mode through the
route (7P) interface but how can I do the same from a kernel module?
Some questions related in this context are how can I create a socket as
can be done through socreate() call in NetBSD and is there any
mechanism of calling some sort of ioctl call from a Kernel module in
Solaris.
Thanks in advance.

modload and modunload are the commands to add and remove the kernal modules. modinfo lists the modules that are loaded into the kernal. check with modinfo -c moduleid to see more details about the module. I dought routing table is a module in the kernal. Check the following link. hope it might help you.
http://www.sun.com/blueprints/1299/network.pdf
Regards
Bharani

Similar Messages

  • How to configure CUPS in Solaris 10 X86 and SPARC

    Dears,
    I need help in configuring CUPS for Solaris 10 X86 as well as on SPARC.
    What i did?
    Downloaded the CUPS 1.5.0
    read the readme.txt
    read the INSTALL.txt
    Pre-req installation requires :-
    CFLAGS= -i /some/directory \
    CPPFLAGS = -i /some/directory \
    CXXFLAGS = -I /some/directory \
    DSOFLAGS = -L /some/directgry \
    LDFLAGS = -L /some/directory \
    ./configure --
    It errors out with
    checking for gawk ... no
    checking for mawk... no
    checking for nawk ...nawk
    chekcing for gcc ... no
    checking for cc ... no
    checking for cl.exe no
    Configure error: no acceptable C compiler found in $PATH
    see 'config.log' for more details
    I installed all the missing dependencies from www.sunfreeware.com and I have the same problem.
    I also tried to install the software packages from the operating system dvd... like for
    ls -lrt gcc
    gcc "SUNWgcc", "SUNWgccS", "SUNWgccruntime"
    ls -lrt cc
    cc "SUNWgccruntime", "SUNWlccom", "SUNWcctpx", "SUNWccisgn" , "SUNWccinv", "SUNWccfwctrl", " SUNWccfw", "SUNWccccrr", "SUNWccccr", "SUNWccccfg", "SUNWislcc",
    "SUNWaccu", "SUNWaccr", "IPLTccons", " SUWgccs", "SUNWgcc", "SUNWmccom", "SUNWmcc", "SUNWusbccids", "SUNWusbccid"
    ls -lrt gawk
    no results
    ls -lrt mawk
    no results
    ls -lrt cl.exe
    no results
    Is there any way should i follow apart from the above?
    Rgds,
    Mky

    Check pkginfo -l for each package.
    export the PATH variable where the packages are installed, like /usr/local/bin and etc.

  • Adding a route in solaris

    I added a route in solaris by command-->
    route add 10.224.86.10 -netmask 255.255.255.224 10.224.8.10
    it gave the prompt--add net 10.224.56.0: gateway 10.224.8.10
    I checked the routing table by netstat -r
    10.224.86.10 10.224.8.10 UG 1 0
    which shows that it is added
    but i am not able to ping it from that server
    ping 10.224.86.10
    gives
    no answer from 10.224.86.10
    What is the reason?
    Thanks
    Anmol

    Hi
    You cannot add a route in appliance. You can only setup a default gateway on the appliance.
    All the routing decisions should be taken by default gateway of the appliance.
    ~Rohit

  • Configuring networking on Solaris 10

    How do I configure networking on Solaris 10, is there a single command or must I edit each file individually?
    If so, what's the format of /etc/hostname.hme0

    turnstile:
    That advice will only work if the original poster has
    a Sun SPARC system with certain integrated 10/100 Ethernet.
    They didn't tell us what system they actually had.
    The device instance name applies to its associated chipset.
    HME is different from ERI, is different from DMFE, is different from DNET, is different from IPBR, etc, etc, etc.
    etcetra:
    Do the sys-unconfig procedure. If you have a recognized network controller,
    it will prompt you with sufficient questions to configure it,
    particularly if you do not know what actual chipset you might have,
    and want a setup that survives a reboot.

  • Install and configuring SAMBA in Solaris 8.0

    Hi
    Can any one help tme to install and configure SAMBA on solaris 8.0
    Thanks in advance

    We don't provide sudo for Solaris 8, but you can try with the package available there : http://www.sudo.ws/sudo/download.html#binary
    They don't provide a specific package for Solaris 8 but may be will the binary working correctly in your zone.
    An other package, and is builded for Solaris 8, is available on www.sunfreeware.com website.
    Regarding the configuration, the method can differ depending on which version you will use. You can find a lot of examples on Internet if you want for details.

  • Configuring IPSec in Solaris 9

    Hello Friends,
    I want to configure IPSec in solaris 9 so that a win2k/XP machine can communicate with that solaris m/c using IPSec. Could anybody help me regarding this. I have a basic idea of IPSec. I just want a step by step instructions for how to configure it. I have searched through google and found many docs which instructs how to configure IPSec between solaris only and also between windows only and I have succeeded to do so. But failed to configure it within solaris and windows.
    Thanks and Regards
    Dipta P Banerjee

    yes, you can use oracle thin driver.
    Your connection pool configuration is actually using datasource of oracle thin driver.
    1) download oracle thin driver from oracle
    2) .jar need to be kept in AS_INSTALL/domains/<domain-name>/lib/ext
    3) restart AS
    4) set all the necessary properties for Oracle thin driver - conn. pool (refer App Server Administration Guide > JDBC Resources > Config. for specific JDBC Drivers > Oracle thin type 4 driver
    5) Ping conn. pool
    If you are still getting the failure message, please post
    1) exception got during ping, from domains/<domain-name>/logs/server.log
    2) connection pool configuration
    Thanks,
    -Jagadish

  • CONFIGURE NFS ON SOLARIS ZONES

    I want steps to configure NFS on solaris Zones

    Hi,
    I installed unfs3 in zone, but can't mount unfs3 share from solaris client(Solaris 10 10/08 s10s_u6wos_07b SPARC):
    root@prod-db $ mount -F nfs -o rw 192.168.219.13:/software /mnt
    nfs mount: 192.168.219.13: : RPC: Rpcbind failure - RPC: Authentication error
    nfs mount: retrying: /mnt
    nfs mount: 192.168.219.13: : RPC: Rpcbind failure - RPC: Authentication error....
    Any suggestions? I cant find in internet any forum or mailing list about unfs3 :(

  • How configure router for one internet provider

    Just bought a router RV042G for commpany. Why does the router configuration requires two IP addresses for the two ISPs. What if we only have one ISP?
    How should i corectly configure router for one ISP (internet provider)
    Plese need ugent help!

    Hi, The peacedog.
    we have static ip adreess.
    I have a little problems with this rotuer. Could you plese help to configure it correctly.
    we have 100 mb internet conection with one static ip.
    rotuer RV042G
    switch: Cisco SF100-24 24-Port 10/100 Switch
    16 pc and 2 samsung network printers.
    Today i come to work and two pc had not internet conecction but had access to local network. other worked just fine. I tried to resset router and network stpped work at all. I tried factory default and backup restore config, it doesnot helped. So for luck i had wirelles router tp link and i replaced it and now all works just fine, but slow.
    Plese help. i am not IT specialist. How should i configure this router to work corectly?
    Before I noticed in system log many conection refuse notices to dropbox and to other services, how to solve that?
    P>S could you suggest how to make subnet and conect to it tp link wireless router for guests so that they dont see local network.

  • Steps to Configure Sendmail in Solaris 9

    Can anyone provide me the SUN documents URL to configure sendmail in Solaris 9.
    Any other good link will also do.
    Thanks.

    I have some questions:
    The server in which I want to configure is running as a DNS client. and I want to configure a local mail so I think that i need to configure mail rather than configuring sendmail.
    I get a document for configuring mail in solaris from docs.sun.com. The doc name is "Mail Administration Guide for Solaris 7".
    This document has the steps to configure mail but my question is:
    The server is already running as DNS client, in this case Do I have to install a new naming service to configure it as mail server?
    Can we configure a server as NIS server when it is already a DNS client?
    Suppose there is only one server, how do you configure mail server and client server and host server..can all three be done on only one server. Here there is one server and a few PCs need to be connected to it as clients.
    Any suggestions?
    David

  • How to configure router to use ip pool on the aaa server for vpn clients

    how to configure router to use ip pool on the aaa server for vpn clients . i want to use vpn clients to connect to the router. authenticate using the aaa server username databse and also use the ip pool cretaed on the aaa server. i am not able to find the command on the router pointing to use the pool created on the aaa server. can u some one help me with this command.
    sebastan

    Hello Sebastan,
    what do you use as AAA server (e.g. ACS with TACACS+ or RADIUS) ?
    Regards,
    GNT

  • Configure Mozilla in Solaris 10

    I new in Solaris , the browser Mozilla does not recognize URL for example when I put www.google.pt
    browser tell me that (does not find the url). I logon in internet becouse the ping command is sucesseful , and I can enter in my router with (private address 192.168.1.1) and broser I have the turn on Icon correctly. Please tem me what is thr problem?

    I don't think you have configured DNS client on the system which made the mozilla could not resovle the URL.

  • Configuring Internet on solaris 10!!

    Hello everyone,
    I am new to solaris 10, i use broadband internet that requires username and password. Please tell me how can i configure it using java dsktop. Please tell from the scratch.
    waiting for reply
    Amitoj

    Sorry for my English, please.
    I have a DSL connection that uses username and password, I use network card and router modem.
    I can connect using ppp. It's easy to configure. First of all test your network configuration, or type sys-unconfig and clear all.
    When the computer reboot, answer the questions, network? yes. router NO, DHCP NO, services DNS, other questions will be video driver, keyboard, etc.
    You have in :http://www.phildev.net/solaris/spppoe.htlm an excellent guide for configure ppp.
    REMEMBER: First reconfigure your system, I had a several days lost configuring ppp.

  • Routing in solaris zones

    Lets see the hypothetical situation. I have Solaris 10 with 3 zones ( + global).
    I have 4 network interfaces. Every zone has it's own interface.
    Now from what i've learnt all network configuration must be done in global zone. It means that every single network interface must have an adress assigned in the global zone even if i only intend to use it in sub zone. Also all routes must be added in global zone (if i try to add anything in sub zone i am disallowed with information "operation not permitted"). Every interface needs its own default gateway, so i have 3 default gws in global zone. What more every sub zone inherits all default gws, which is very confusing to the network traffic. I want a situation, where every zone inherits only part of routing which is intented for that very zone. How can i achieve that if i have to do all routing in global zone and after adding any route it appears automatically in sub zones?

    From my understandig Solaris 11 is going to offer some features you're requesting right now. For now you can take a look a defining routes yourself to match the behavior you want, or take a look at zebra if you have routing protocols available on your network. But I have to urge you to consult your networkadministrator before you continue in both case so you don't take down your system or the network.

  • External router and solaris intsallation

    Hi,
    I'm very new to solaris (and *nix world also) so, please, forgive me if this is a silly question, but I've installed solaris 10 express x86, with my pc connected via cross cable to an external router (properly configured). After installlation, I can't see my router.
    Can someone help me, or give some good (and clear/simple...) resource to see?
    thaks!
    Pietro

    Hi,
    I'm very new to solaris (and *nix world also) so, please, forgive me if this is a silly question, but I've installed solaris 10 express x86, with my pc connected via cross cable to an external router (properly configured). After installlation, I can't see my router.
    Can someone help me, or give some good (and clear/simple...) resource to see?
    thaks!
    Pietro

  • Configuration STMS on solaris

    hi all,
    i m using oracle db 10.2.4 with ecc 6 on solaris 5.10 system , now want to configure STMS from our DEV to PRD system.
    can anyone tell me that how to configure stms . Is it the same process like stms configuratin on Win OS
    rgds
    imran khan

    Hi,
    To configure the Transport System SAP recommends to have Global Tranpsport Directory.
    1. First decside which system will be Transport Domain Controler: - Generally Development System.
    2. Share the /usr/sap/trans directory Transport Domain Controler using NFS.
    3. Now Login in 000 client as DDIC user & execute the t-code STMS.
    4. It will ask to configure the Transport Domain Controler click on Ok.
    5. Set the parameter DIR_TRANS on Transport Domain Client (Production/Quality System) to the path of NFS mounted directory.
    6. Login to 000 client as DDIC user on Transport Domain Client (Production/Quality System) & execute STMS.
    7. It will ask to include the system in Transport Domain, click on OK.
    8. Now login again on Transport Domain Controler in 000 client & Approve Request.
    9. In Transport Domain Controler click on Overview--> Transport Routes
    10. Click on Configuration> Standard Configuration-> Select Appropriate to your Landscape.
    11. Now configure your transport router DEV>QAS>PRD
    Thanks,
    Shambo

Maybe you are looking for