Openbsd as gateway Problem


 
Thread Tools Search this Thread
Special Forums IP Networking Openbsd as gateway Problem
# 71  
Old 12-28-2007
Desktop ip : 176.16.10.10 DG : 176.16.10.1 Is it something like thisa s below :
route add 176.16.10.10 176.16.10.1 first ip is destination and second is the gateway. Am i correct ? Why u worreid about NAT since this is support by pf. BY the way, a billion thanks for your help.
# 72  
Old 12-28-2007
I have routed off. I don't know whether this is the problem. Let me on and try it again.
# 73  
Old 12-28-2007
Quote:
Originally Posted by Peter_APIIT
Desktop ip : 176.16.10.10 DG : 176.16.10.1 Is it something like thisa s below :
route add 176.16.10.10 176.16.10.1 first ip is destination and second is the gateway. Am i correct ? Why u worreid about NAT since this is support by pf. BY the way, a billion thanks for your help.
I'm sure NAT may work for the openbsd box, does not mean it will work for everyone else.

For the desktop you should be setting the default gateway which is nomally something like

route add default gateway-ip

or

route add 0.0.0.0 gateway-ip

what kind of desktop is it you are doing this on?
# 74  
Old 12-28-2007
Modem -> OpenBSD -> Desktop || Laptop
I don't get what u mean here since i have create a route to 176.16.10.10 using default gateway 176.16.10.1 . By the way, you are really helpful person.
# 75  
Old 12-28-2007
I have did this route add 176.16.10.10 176.16.10.1 but stil cannot solve that.
# 76  
Old 12-28-2007
Quote:
Originally Posted by Peter_APIIT
Modem -> OpenBSD -> Desktop || Laptop
I don't get what u mean here since i have create a route to 176.16.10.10 using default gateway 176.16.10.1 .
This statement means nothing to mean since I have no idea what machine you are refering to.

I want to get the desktop talking to the internet. What type of desktop is it? Is it talking happily to the openbsd box, how is the network for the desktop configured, manually or by DHCP?

You should not have to do any static routes on the desktop or laptop. You should not have any static routes to specific machines, they should be to subnets.
# 77  
Old 12-28-2007
I enter this statement in openbsd box in order for my client able to access the internet.
Desktop and laptop are a host after openbsd. I really need your solution. I have weird routing table:
Destination Gateway Flags Refs Use Mtu Interface
Code:
default    219.93.218.177     UGS    3     127    -      tun0
127.0.0.1   127.0.0.1         UH     0      2    33224    lo0
176.16.10/24   link#2         UC     1      0     -       rl1
176.16.10.10     H.A         UHLc    1      9     -       rl1
192.168.1/24   link#1         UC     1      0     -       rl0
192.168.1.1     H.A          UHLc    0      18    -       rl0
192.168.2/24   link#3         UC     0      0     -       ral0

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

3. IP Networking

Small Problem about Default Gateway

I have Ubuntu linux Os with two eth cards. I can easily delete def gatewayg. But I can't add new one.. :confused::confused: When I run route-n: alperen@alperen-System-Product-Name:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use... (1 Reply)
Discussion started by: Mhnds
1 Replies

4. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

5. BSD

Xwindows Problem OPenBSD 4.6

Hi, I have OPENBSD 4.6 installed as a VM in Virtual Box on my Ubuntu 9.10 machine. Problem is that the XWindows will not start when I boot my OPENBSD VM. I am new to OPENBSD. How do I fix this problem? (5 Replies)
Discussion started by: mojoman
5 Replies

6. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

7. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

8. BSD

[OpenBSD] DNS startup problem

I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs: Sep 23 10:43:03 grunty named: starting BIND 9.3.2-P1 Sep 23 10:43:03 grunty named: /etc/named.conf:25: change directory to '/var/named' failed: file not found Sep 23... (2 Replies)
Discussion started by: BOFH
2 Replies

9. BSD

OpenBSD : mount problem

hi I have two hhd's. One is primary disk which holds the OpenBSD system and the other is my download disk (disk2). I formatted disk2 in "ffs" type. And created a "disklabel", wd1a. The disklabel program says "No change made", but I can see the changes by "p" command. I cannot mount my disk2!... (1 Reply)
Discussion started by: fnoyan
1 Replies

10. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies
Login or Register to Ask a Question