Problem : Cant add route – bad argument

Problem : Cant add route – bad argument

All workstations on my network have NIC cards set to Class C – 192.168.0.0/32 with gateway 192.168.0.248 (Routing and Remote Win2k3 server – call it GW from now on)
that provides internet access to LAN users

Home office just added connectivity to my network via priave line T1
Installed Cisco router – interface IP on my network is 192.168.0.235

I created a static route on GW for INT 192.168.0.248, Dest 63.27.111.0 Mask 255.255.255.0

All workstations using this GW can route to 63.27.111.0 network – I added the websites on the 63.27.111.0 network to my DNS and all resolves well

That is the background – Here is the problem

I have some web developer workstations on my network with 2 NIC Cards
These multi-homed workstations use one interface to access the LAN, the other interface is directly exposed to internet (to demo websites, etc..)
IF 1 = 192.168.0.12 (internal access to LAN) mask 255.255.255.0 (no default gateway)
IF 2 = 10.10.10.2 (External access to internet) mask 255.255.255.0 (10.10.10.1 – internet router)

Since these web-developer workstations do not use the GW – I assumed I needed to add a static persistent route on these worksatations to route data to the 63.27.111.0 network

So I went to the cmd prompt and entered:

route ADD 63.27.111.0 255.255.255.0 192.168.0.235 int 1

when i run that cmd, it returns

route:bad argument 192.168.0.235

I can ping 192.168.0.235 no problem

help!

🙂


Solution: Cant add route – bad argument

Try this:
route ADD 63.27.111.0 255.255.255.0 192.168.0.235 METRIC 3 int 1