Need help to configure routing on home network


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Need help to configure routing on home network
# 1  
Old 02-16-2008
Need help to configure routing on home network

I have a Windows laptop and a Sparc desktop. I'm trying to toy around with routing.

If have always on broadband from BT. My router ipaddress is:

192.168.1.1

This router uses DHCP.

My Laptop Ip is as follows:
Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : home
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1


I don't want to use DHCP on my Sparc desktop and I have plumbed the interface as follows:

interface bge0:
IP address: 10.0.0.2
Netmask 255.255.255.0

I want to add a route in the router's routing table to enable me to ping or telnet from my windows laptop to my sparc desktop. I can't seem to get
the netmask or gateway correct.

The router asks for the following:

Add New Static Route

Destination (For default route, type 0.0.0.0 or leave blank)
IP Address:
Netmask:

Forward packets to
Gateway IP address:

How do I achieve adding this route?

Thanks in advance.
# 2  
Old 02-16-2008
Is it your intent to merely have these 2 machines connect, or to set 2 routes?
If your intent is to have both machines connect, then just put them both on 192.168.1 . Your home "router" shouldn't care if the connection is stiatc or dynamic - some of them may require you set an IP range that dhcp can serve - so just set the bge0 interface to 192.168.1.4 (or whatever you want the last octet to be).

If your intent is to, well I don't know how our specific home router works and if it lets you create vlans or just point to other devices, but the network would be 10.10.10.0, the mask 255.255.255.0; as for the gateway IP, again, I don't know how your specific home device works, usually you'll enter the gateway IP address of another switch(or vlan in the switch) ; I'd try to enter 10.10.10.2, the IP address of the Sun desktop, and see if it works.

But it'd just be easier to set a range of DHCP addresses in your home device and hardcode a 192.168.1 address on the Sun desktop.
# 3  
Old 02-20-2008
Are you using the ip of the box? if you are, I think you should be using the 255.255.255.255 address for the route's netmask(e.g 10.0.0.2 netmask 255.255.255.255 instead of the network address 255.255.255.0). When you use that subnet mask(255.255.255.0), it's saying that the 10.x.x.x and 192.x.x.x are are the same network.

Also, what is the gateway for you 10.0.0.2 box?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Network routing

hi, not an expert in Solaris networking so would like to ask your opinions Say i want to configure packet routing from source 10.126.120.130 (A) to destination 10.214.140.9 (B). I configured it this way (shown in netstat -rn) on (B) Destination Gateway Interface... (7 Replies)
Discussion started by: ghostdog74
7 Replies

2. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

3. Web Development

Do anyone know how to configure document to point to home directory properly in apache?

Hi from Running web apps from your home folder I've more or less follow the guide, the reason why I'm expering 403 Forbidden is because the higher level directory will take precedance. $ ls -lrthd /home/phpmy/www/joomla/ drwxrwxr-x 2 phpmy phpmy 4.0K May 1 20:26... (2 Replies)
Discussion started by: jediwannabe
2 Replies

4. IP Networking

Test network routing algourithm

hi, I've wrote my own network routing algorithm in java, now i wanna test it and see if it works correctly, also i wanna test it's performance in comparison with other network routing algorithms like RIP. can anyone tell me how can i do this? is there any simulator or something for network routing... (0 Replies)
Discussion started by: gongotar
0 Replies

5. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

6. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

7. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

8. Solaris

how to configure my network to use the internet

i have a router from my isp provider 02. my internet works fine in windows but i am unable to use internet in solaris. when i tried ifconfig command i was able to see the lo0 which is my laoopback adapter. pls can someone advice. (7 Replies)
Discussion started by: seyiisq
7 Replies

9. HP-UX

HP-UX 10.20 Network Configure

Hi I'm new about UNIX, but I've to use a HP9000 with HP-UX 10.20 workstation. I'm trying to configure the network, I've configured the file /etc/rc.conf.d/netconf with my IP address and the right gateway, so the HP9000 is on the net, I've tried a ping. But now I've a problem I can't start hte CDE,... (4 Replies)
Discussion started by: gofmass
4 Replies

10. IP Networking

Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf"... (1 Reply)
Discussion started by: Deuce
1 Replies
Login or Register to Ask a Question