Hi Joey,
See my replies in line:
joey ristdi wrote:
hi there ,
I need some help here with my routers for the following situations;
situation 1 :
my router 1 is connected to another network from where he got
internet.(via the the external firewall - ip of firewall connected to
the router 1 = 192.168.3.1)
after your help i manage to connect to 192.168.3.1 from my router 1.
the problem is now ; on my interface eth3 i have my dhcp-server
running .And on that dhcp-server i have a pc that have to get acces to
the internet .But i can't even ping the firewall (192.168.3.1) from
the pc that is connected to the dhcp-server.
Did the PC get an address from the DHCP server? If so, can the PC ping
router 1? First to the DHCP gateway on eth3 172.18.0.1 --> then to eth0
192.168.3.10?
situation 2 :
my router 2 is connected via ospf to my router 1.
router 2 is running dhcp-server on interface eth0 which also got a pc
tonnected to it.
The problem here is i can't ping the firewall from the pc that on the
dhcp-server. Not even from Router2.
You'd want to first make sure that Router2 can connect to the Internet
before looking into any issues with the PC connected to it.
So, first off you'd want to make sure ospf is in full state by running a
'show ospf4 neighbor'. If an adjacency has been formed between router1
and router2, you'd want to make sure your redistribution policy is
working properly by running a 'show route' on router2 to see if the
static default route is showing up as an ospf route from router1. Check
those things and post the output back to the list.
If your neighbor adjacencies have formed but the routes aren't showing
up, post your policy configuration and the output of 'show ospf4
database' from router1 and router2.
Also, there are some issues with the configurations below - I've
highlighted them in red.
Thanks,
Robyn
So i can't get to the internet from router 2 which got to go to
internet via router 1.
can you check my configuration and help me resolve this situations.
ospf4 {
router-id: 10.0.0.1
area 0.0.0.0 {
interface eth1 {
> > address 192.168.0.1 {
> > }
> > }
> > interface eth2 {
> > address 192.168.1.1 {
> > }
> > }
>> interface eth3 {
> > address 172.18.0.1 {
> > }
> > }
> > interface eth0 {
> > address 192.168.3.10{
> >
}
> > }
> > }
> > export: "export-conn,export-static"
> >
> >
> > }
> >
> >
> > static {
> > route 0.0.0.0/0 {
> > next-hop: 192.168.3.1
> > }
> > }
> > }
> > policy { (................. // here i have the policy written
(static &
> > conn)
> >
> >
> >
}
> > interfaces {
> > loopback lo {
> > address 10.0.0.1 {
> > prefix-length: 32
> > }
> > }
> > ethernet eth0 {
> > address 192.168.3.10 {
> > prefix-length: 24 ( ...// this interface is connected to the
> > Firewall machine)
> > }
> > }
> > ethernet eth1 { ( //..connected to another router via ospf)
> > address 192.168.0.1 {
> > prefix-length: 24
> > }
> >
}
> > ethernet eth2 { (//..connected to another router via ospf)
> > address 192.168.1.1 {
> > prefix-length: 24
> > }
> > }
> > ethernet eth3 { (//..interface that's running dhcp-server)
> > address 172.18.0.1 {
> > prefix-length: 24
> > }
> > }
> > service {
> > dhcp-server {
> > name router1 {
> > start 172.18.0.100 {
> > stop: 172.18.0.199
> > }
> > network-mask = 24
> > dns-server 200.26.179.102
> > dns-server 65.174.238.100
> > default-router: 172.18.0.1
> > interface: "eth3"
Router 1
ospf4 {
router-id: 10.0.0.2
area 0.0.0.0 {
interface eth1
{
> > address 192.168.1.2 {
> > }
> > }
> > interface eth2 {
> > address 192.168.2.1 {
> > }
> > }
> > interface eth0 {
> > address 172.168.1.1{ <-- This is a typo - should be 172.18.1.1
> > }
> > }
> > }
> > export: "export-conn,export-static"
> >
> >
> > }
> >
> >
> > static {
> > route 0.0.0.0/0
{
> > next-hop: 192.168.3.10 --> this shouldn't be here as you have no route to
this next hop- you'll learn this route from the other router's OSPF redistribution
> > }
> > }
> > }
> > policy { (................. // here i have the policy written
(static &
> > conn)
> >
> >
> > }
> > interfaces {
> > loopback lo {
> > address 10.0.0.1 { --> this is the same address as the other router - you
should change this to 10.0.0.2
> > prefix-length: 32
> > }
> > }
> > ethernet eth0 {
> > address 172.18.1.1 {
> > prefix-length:
24 ( ...// interface running dhcp-server)
> > }
> > }
> > ethernet eth1 { ( //..connected to another router via ospf)
> > address 192.168.1.2 {
> > prefix-length: 24
> > }
> > }
> > ethernet eth2 { (//..connected to another router via ospf)
> > address 192.168.2.1 {
> > prefix-length: 24
> > }
> > }
> > service {
> > dhcp-server {
> > name router 2{
> > start 172.18.1.100 {
> > stop: 172.18.2.199
> > }
> > network-mask = 24
> > dns-server 200.26.179.102
> > dns-server 65.174.238.100
> > default-router: 172.18.1.1
> > interface: "eth0"
------------------------------------------------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
<http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>
------------------------------------------------------------------------
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users