Sponsored Content
Operating Systems Solaris Add Static Routes to new physical address Post 302284788 by incredible on Friday 6th of February 2009 10:32:11 AM
Old 02-06-2009
#cd /etc/rc2.d
#vi S99staticroute
Add the following line
route add 10.252.0.138 10.252.0.129
route add 10.252.0.10 10.252.0.1

reboot
 

10 More Discussions You Might Find Interesting

1. AIX

Physical and Logical IP address

Hi all I need command to give logical and physical IP Address for my machine. thank you (1 Reply)
Discussion started by: magasem
1 Replies

2. AIX

Static Routes question

I added a static route through smit using: Communications applications and Services ==> TCIP/IP ==> Further Configuration ==> Static Routes ==> Add a Static Route ==> Route Type of host Filled in Destination Address, Default Gateway Address and Network Interface of en0. This... (2 Replies)
Discussion started by: jyoung
2 Replies

3. UNIX for Dummies Questions & Answers

How to apply static ip address

Hi there, I have a Debian 5.0 server newly installed. By default, the ip address is given by dhcp. pegase:~# grep '^' /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet dhcp pegase:~# head -2 /etc/hosts 127.0.0.1 localhost 127.0.1.1 ... (1 Reply)
Discussion started by: chebarbudo
1 Replies

4. Solaris

How to Configure a Static Ip Address

Hello friend, I am new in UNIX, but I want to learn a lot Well I have a problem to try to configure my PC with a static IP Address (IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1) (DNS 200.48.225.130 and 200.48.225.146). where are the file that I must be change? The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies

5. UNIX for Dummies Questions & Answers

What would the physical address be for virtual address?

Hi guys, I got one problem which I definetily no idea. What would the physical address be for virtual address? 1) 2ABC 2) 3F4B Here is the page table:see attached Thank you sos sososososso much!! (0 Replies)
Discussion started by: lemon_06
0 Replies

6. Red Hat

Purpose of Static IP address through DHCP

Hi All, Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Discussion started by: Sharath Kumar
6 Replies

7. SCO

Static routes in SCO

Hi, Just a question of thought. Why one needs to add static routes on Unix servers ? If I had ethernet card, it already has the settings for gateway for incoming and outgoing requests. We donot have to explicitly set the route it should take. Then what is the use... (3 Replies)
Discussion started by: dextergenious
3 Replies

8. Red Hat

Centos-quick way to check if static routes are persistent

Hi All, Is there a quick way to check whether the current routes on my centos are persistent or not before rebooting ? i can take a route -n output but i may completely lost access to my server if the routes are gone. thanks. (1 Reply)
Discussion started by: coolatt
1 Replies

9. IP Networking

Free subdomain to my IP Address and Static IP

Hi all, I would need to register a random free subdomain address and associate that to my IP Address. Any suggestion of a good service? Also I don't have a static IP but i remember that there are services that automatically reset the right IP address behind the subdomain but i don't remember... (1 Reply)
Discussion started by: Tameto
1 Replies

10. Red Hat

How to set static routes for packets, within the same Network?

I have three systems A,B,C. I want to configure A in such a way that all packets from A to C goes via B. I tried: 1. ip route add 'ip of C' via 'ip of B' 2. route add -net 'net address' netmask gw 'ip of B' These commands work initially when I try a ping or traceroute and expire after... (2 Replies)
Discussion started by: kanak
2 Replies
subnetcalc(8)						    BSD System Manager's Manual 					     subnetcalc(8)

NAME
subnetcalc -- IPv4/IPv6 Subnet Calculator SYNOPSIS
subnetcalc [Address] [Netmask/Prefix] [-n] [-uniquelocal] [-uniquelocalhq] DESCRIPTION
subnetcalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or IPv6 address and netmask or prefix length, it calculates network address, broadcast address, maximum number of hosts and host address range. Also, it prints the addresses in binary format for better under- standability. Furthermore, it prints useful information on specific address types (e.g. type, scope, interface ID, etc.). ARGUMENTS
The following arguments have to be provided: Address The IP address. If a hostname is provided here, it is tried to resolve the address by a DNS server and the first returned address is used. Internationalized Domain Names (IDN) are supported. Netmask/Prefix The netmask or prefix length (0-32 for IPv4; 0-128 for IPv6). -n Skip trying a reverse DNS lookup. -uniquelocal Given an IPv6 address, the first 48 bits of the address are replaced by a randomly chosen IPv6 Unique Local prefix in fc00::/7 (see also RFC 4193). Under Linux, /dev/urandom is used for random number generation. -uniquelocalhq Like -uniquelocal, but using /dev/random instead on Linux systems for highest-quality random number generation. On other systems, this option is equal to -uniquelocal. Note, that reading from /dev/random may take some time. You can speed up this process by deliv- ering random input e.g. by pressing keys or moving the mouse. EXAMPLES
subnetcalc 132.252.250.0 255.255.255.0 subnetcalc 132.252.250.0/255.255.255.0 subnetcalc 132.252.250.0 24 subnetcalc 132.252.250.0/24 subnetcalc fec0:2345:6789:1111:221:6aff:fe0b:2674 56 subnetcalc 2a00:1450:8007::69 64 subnetcalc ff08::1:2:3 subnetcalc 131.220.6.5/24 subnetcalc 132.252.181.87 -n subnetcalc www.iem.uni-due.de 24 subnetcalc www.six.heise.de subnetcalc fd00:: 64 -uniquelocal subnetcalc fd00::9876:256:7bff:fe1b:3255 56 -uniquelocalhq subnetcalc dusseldorf.de 28 subnetcalc www.koln.de subnetcalc raksmorgas.josefsson.org 24 AUTHORS
Thomas Dreibholz http://www.iem.uni-due.de/~dreibh/subnetcalc mailto://dreibh@iem.uni-due.de subnetcalc June 19, 2010 subnetcalc
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy