Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Solaris route add command, is this correct

Thread Tools
 
Search this Thread
 
Old 17 August 2002, 12:17 PM
  #1  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Question

route add -net (NETWORK) netmask (MASK) (INTERFACE) (Metric)

ie

route add -net 10.10.16.1 netmask 255.255.240.0 194.164.3.1 1

Cheers

John
Old 17 August 2002, 01:37 PM
  #2  
ChristianR
Scooby Regular
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

surely (INTERFACE) would be ethernet 0 or whatever?
Old 17 August 2002, 03:19 PM
  #3  
ScoobyJawa
Scooby Regular
 
ScoobyJawa's Avatar
 
Join Date: Aug 2001
Location: Hampshire
Posts: 10,954
Likes: 0
Received 0 Likes on 0 Posts
Post

yep you need to specifiy the specific card you are doing it for - eg hme0 or le0........
Old 17 August 2002, 05:26 PM
  #4  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Yup got it done in the end (didn't take all this time by the way )

Needed to add -netmask, that's what I was doing wrong

Cheers
Old 17 August 2002, 07:07 PM
  #5  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Wink

<Pedant> The 10.10.16.1 should be 10.10.16.0 so its the network address not just an address in that subnet.</Pedant>

Deano
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
the shreksta
Other Marques
26
01 October 2015 02:30 PM
Benrowe727
ScoobyNet General
7
28 September 2015 07:05 AM



Quick Reply: Solaris route add command, is this correct



All times are GMT +1. The time now is 07:05 AM.