Sponsored Content
Full Discussion: Route add probleme
Special Forums IP Networking Route add probleme Post 302131971 by waterboy on Tuesday 14th of August 2007 03:10:30 PM
Old 08-14-2007
Route add probleme

I have a system that i want to reach via a vpn created vi a fierwall.The fierwall in an other system.
The ip i am trying to get to is 172.16.4.48
I need to get to it via the hme1 interface.
The vpn gateway has this ip 172.30.50.1
I need to clean up the routing table and make this work; or is it impossible

Here is the system info:

OS Solaris 5.10
Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.30.50.7 netmask ffffff00 broadcast 172.30.50.255
        ether 8:0:20:b0:16:98
hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 172.16.0.1 netmask ffffff00 broadcast 172.16.0.255
        ether 8:0:20:b0:16:98

Code:
# netstat -nr

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
172.16.0.1           172.30.50.1          UGH       1      0
172.30.50.0          172.30.50.7          U         1    258  hme0
172.16.0.0           172.16.0.1           U         1      0  hme1
224.0.0.0            172.30.50.7          U         1      0  hme0
default              172.30.50.13         UG        1     19
127.0.0.1            127.0.0.1            UH       17    163  lo0


Smilie Waterboy

Last edited by zazzybob; 08-14-2007 at 09:46 PM.. Reason: Link removed - code tags added
 

10 More Discussions You Might Find Interesting

1. AIX

route add

Hello , We have 3 rs/6000 server's running aix on our local network, so each time I try to ping one of these servers we get a "network is down" error , I've been instructed to use to route add command which is ... #route add server.ip router.ip after this the ping command works fine ,... (6 Replies)
Discussion started by: cubicle^dweller
6 Replies

2. IP Networking

Do I need to add a route??

I have two networks connected by cisco routers. My first subnet is 192.168.0.0 and my second is 192.168.1.0. My SCO unix machine is on the 192.168.1.0 subnet with an IP of 192.168.1.231. It can see the entire .1.0 subnet but nothing on the other network. My cicso router(gateway) to the other... (6 Replies)
Discussion started by: agoodrich
6 Replies

3. HP-UX

Add Route on HP-UX v10.x, help.

Hi, My H-UX box has the GW pointing to 10.10.10.1 and I need add it a new route pointing to 192.168.80.x with the GW 10.10.10.13 I tried with: #route add 192.168.80.2 255.255.255.255 10.10.10.13 but I get: add net 192.168.80.0: gateway 255.255.255.0: Network is unreachable I tried with... (4 Replies)
Discussion started by: efrenba
4 Replies

4. Solaris

Route Add

Hi, I am trying to add route command in Solaris 10 machine in the following fashion: route add -host 10.8.112.10 180.144.1.250 -interface lo0:1 this command fails with an error "lo0:1: bad value" I want to add a route to 10.8.112.10 that picks 180.144.1.250 as the gateway via the... (3 Replies)
Discussion started by: sudhir_shet
3 Replies

5. IP Networking

route add

I have built a new linux server, via a iLo connection. and I am trying to connect via my desktop to the server I have just built to the management port eth0 via putty. Please could some one advise how to connect to this server from my desktop. Do i need to create add a route access on the... (0 Replies)
Discussion started by: venhart
0 Replies

6. Solaris

route add : network is unreachable

Hey Guys: I am trying to add a route for assign a network interface to the traffic to/from a specific net, but allways to get the same system message : network is unreacheable root@ColectorDMSCNT # route add net 200.44.46.0/24 161.196.84.196 1 add net 200.44.46.0/24: gateway... (2 Replies)
Discussion started by: aggadtech08
2 Replies

7. Solaris

Add route to solaris10

Hi need to add 2 routes, one on each server. I know the route add comand but I have always been given the parameters to put in. I need a route in each of the 2 following servers to be able to ping and ssh between them. But how do i know which netmask to put in the route add command ? In... (6 Replies)
Discussion started by: vettec3
6 Replies

8. Solaris

Add route to solaris 10

I need to add a new route on solaris10 machine. I want that all traffic on the 23 port (telnet) use 192.168.200.1 gateway. How I do ? Thank you in advance. (1 Reply)
Discussion started by: arfry
1 Replies

9. Solaris

Couldn't add route on Solaris 10

Hi Solaris Experts, I am trying to add a routing table entry on our 5.1 Generic_144488-12 sun4v sparc Solaris 10 SUNW,SPARC-Enterprise-T5220 so that it is possible to ping 10.56.9.34 node # netstat -rnv IRE Table: IPv4 Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd ... (2 Replies)
Discussion started by: gjackson123
2 Replies

10. IP Networking

Add explicit route

Add explicit route to 10.128.255.41/32 , gateway: 10.128.201.254 if not working, please try gateway through management port: 10.128.55.254 Just want to double confirm if this would be the correct command #route add -net 10.128.255.41/32 10.128.201.254 And if didnt work #route add... (1 Reply)
Discussion started by: Thilagarajan
1 Replies
sysidcfg(4)                                                        File Formats                                                        sysidcfg(4)

NAME
sysidcfg - system identification configuration file DESCRIPTION
When a diskless client boots for the first time or a system installs over the network, the booting software tries to obtain configuration information about the system, such as the system's root password or name service, from, first, a sysidcfg file and then the name service databases. If the booting software cannot find the information, it prompts the user for it. Like the name service databases, the sysidcfg file can be used to avoid the user prompts and provide a totally hands-off booting process. The sysidcfg file preconfigures information through a set of keywords. You can specify one or more of the keywords to preconfigure as much information as you want. Each set of systems (one or more) that has unique configuration information must have its own sysidcfg file. For example, you can use the same sysidcfg file to preconfigure the time zone for multiple systems if you want all the systems to have the same time zone configured. However, if you want to preconfigure a different root password for each of those systems, then each system would need its own sysidcfg file. Where To Put the sysidcfg File The sysidcfg file can reside on a shared NFS network directory or the root directory on a UFS or PCFS diskette in the system's diskette drive. If you put the sysidcfg file on a shared NFS network directory, you have to use the -p option of the add_install_client(1M) command (see install_scripts(1M)) to specify where the system being installed can find the sysidcfg file. If you put the sysidcfg file on a diskette, you need to make sure the diskette is in the system's diskette drive when the system boots (on x86 systems, the sysidcfg file should reside on the Solaris Device Configuration Assistant diskette). Only one sysidcfg file can reside in a directory or diskette. If you are creating more than one sysidcfg file, they must reside in differ- ent directories or diskettes. Keyword Syntax Rules The following rules apply to the keywords in a sysidcfg file: o Keywords can be in any order o Keywords are not case-sensitive o Keyword values can be optionally enclosed in single (') or double (") quotes o Only the first instance of a keyword is valid; if you specify the same keyword more than once, the first keyword specified will be used. The network_interface keyword is exempt from this rule. Keywords - All Platforms The following keywords apply to both SPARC and x86 platforms. Name Service, Domain Name, Name Server Naming-related keywords are as follows: name_service=NIS,NIS+,LDAP,DNS,NONE For the NIS and NIS+ keywords, the options are: domain_name=domain_name name_server=hostname(ip_address) The following is an example NIS entry: name_service=NIS {domain_name=west.arp.com name_server=timber(172.16.2.1)} For NIS+, the example is identical to the one above, except for the replacement of the keyword NIS by NIS+. For DNS, the syntax is: domain_name=domain_name; name_server=ip_address, ... ; search=domain_name, ... You can have a maximum of three IP addresses and six domain names. The total length of a search entry cannot exceed 250 characters. The following is an example DNS entry: name_service=DNS {domain_name=west.arp.com name_server=10.0.1.10,10.0.1.20 search=arp.com,east.arp.com} For LDAP, the syntax is: domain_name=domain_name; profile=profile_name; profile_server=ip_address; proxy_dn="proxy_bind_dn"; proxy_password=password The proxy_dn and proxy_password keywords are optional. If proxy_dn is used, the value must be enclosed in double quotes. The following is an example LDAP entry: name_service=LDAP {domain_name=west.arp.com profile=default profile_server=172.16.2.1 proxy_dn="cn=proxyagent,ou=profile,dc=west,dc=arp,dc=com" proxy_password=password} Choose only one value for name_service. Include either, both, or neither of the domain_name and name_server keywords, as needed. If no key- words are used, omit the curly braces. Network Interface, Hostname, IP address, Netmask, DHCP, Default Route Network-related keywords are as follows: network_interface=NONE, PRIMARY, value where value is a name of a network interface, for example, eri0 or hme0. For the NONE keyword, the options are: hostname=hostname For example, network_interface=NONE {hostname=feron} For the PRIMARY and value keywords, the options are: primary (used only with multiple network_inteface lines) dhcp hostname=hostname ip_address=ip_address netmask=netmask protocol_ipv6=yes | no default_router=ip_address (IPv4 address only) If you are using the dhcp option, the only other option you can specify is protocol_ipv6. For example: network=PRIMARY {dhcp protocol_ipv6=yes} If you are not using DHCP, you may specify any combination of the other keywords as needed. If you do not use any of the keywords, omit the curly braces. network_interface=eri0 {hostname=feron ip_address=172.16.2.7 netmask=255.255.255.0 protocol_ipv6=no default_route=172.16.2.1} Multiple Network Interfaces If you have multiple network interfaces on your system, you may configure them all in the sysidcfg file by defining multiple network_inter- face keywords. If you specify multiple network_interface keywords, you cannot use NONE or PRIMARY for values. You must specify interface names for all of the values. To specify the primary interface, use the primary option value. For example, network_interface=eri0 {primary hostname=feron ip_address=172.16.2.7 netmask=255.255.255.0 protocol_ipv6=no default_route=172.16.2.1} network_interface=eri1 {hostname=feron-b ip_address=172.16.3.8 netmask=255.255.255.0 protocol_ipv6=no default_route=172.16.3.1} Root Password The root password keyword is root_password. Possible values are encrypted from /etc/shadow. Syntax is: root_password=encrypted_password Security Policy The security--related keyword is security_policy. It has the following syntax: security_policy=kerberos, NONE The kerberos keyword has the following options: {default_realm=FQDN admin_server=FQDN kdc=FQDN1, FQDN2, FQDN3} where FQDN is a fully qualified domain name. An example of the security_policy keyword is as follows: security_policy=kerberos {default_realm=Yoursite.COM admin_server=krbadmin.Yoursite.COM kdc=kdc1.Yoursite.COM, kdc2.Yoursite.COM} You can list a maximum of three key distribution centers (KDCs) for a security_policy keyword. At least one is required. Language in Which to Display the Install Program The system-location keyword is system_locale. It has the following syntax: system_locale=locale where locale is /usr/lib/locale. Terminal Type The terminal keyword is terminal. It has the following syntax: terminal=terminal_type where terminal_type is a value from /usr/share/lib/terminfo/*. Timezone Information The timezone keyword is timezone. It has the following syntax: timezone=timezone where timezone is a value from /usr/share/lib/zoneinfo/*or, where timezone is an offset-from-GMT style quoted timezone. Refer to environ(5) for information on quoted timezones. An example of a quoted timezone is: timezone="<GMT+8>+8". Date and Time The time server keyword is timeserver. It has the following syntax: timeserver=localhost timeserver=hostname timeserver=ip_address If you specify localhost as the time server, the system's time is assumed to be correct. If you specify the hostname or ip_address, if you are not running a name service, of a system, that system's time is used to set the time. x86 Platform Keywords The following keywords apply only to x86 platforms. For all these keywords, use kdmconfig -d to create or append to the sysidcfg file. See kdmconfig(1M). Monitor type The monitor--related keyword is monitor. The syntax is: monitor=monitor_type Keyboard language, keyboard layout The keyboard--language keyword is keyboard. The syntax is: keyboard=keyboard_language {layout=value} Graphics card, color depth, display resolution, screen size The display-related keywords are display, size, depth, and resolution. The syntax is: display=graphics_card {size=screen_size depth=color_depth resolution=screen_resolution} Pointing device, number of buttons, IRQ level The mouse-related keywords are pointer, nbuttons, and irq. pointer=pointing_device {nbuttons=number_buttons irq=value} EXAMPLES
Example 1: Sample sysidcfg files The following example is a sysidcfg file for a group of SPARC systems to install over the network. The host names, IP addresses, and net- mask of these systems have been preconfigured by editing the name service. Because all the system configuration information has been pre- configured, an automated installation can be created by using a custom JumpStart profile. system_locale=en_US timezone=US/Central timeserver=localhost terminal=sun-cmd name_service=NIS {domain_name=marquee.central.example.com name_server=connor(172.16.112.3)} root_password=m4QPOWNY system_locale=C security_policy=kerberos {default_realm=Yoursite.COM admin_server=krbadmin.Yoursite.COM kdc=kdc1.Yoursite.COM, kdc2.Yoursite.COM} The following example is a sysidcfg file created for a group of x86 systems to install over the network that all have the same keyboard, graphics cards, and pointing devices. The device information (keyboard, display, and pointer) was captured from running kdmconfig -d. See kdmconfig(1M). In this example, users would see only the prompt to select a language, system_locale, for displaying the rest of the Solaris installation program. keyboard=ATKBD {layout=US-English} display=ati {size=15-inch} pointer=MS-S timezone=US/Central timeserver=connor terminal=AT386 name_service=NIS {domain_name=marquee.central.example.com name_server=connor(172.16.112.3)} root_password=URFUni9 security_policy=none SEE ALSO
install_scripts(1M), kdmconfig(1M), sysidtool(1M), environ(5) Solaris 10 Installation Guide: Basic Installations SunOS 5.10 12 Nov 2003 sysidcfg(4)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy